Skip to content

Use the real fs module if in a require() call - #139

Merged
tschaub merged 1 commit into
masterfrom
lazy-require
Jul 9, 2016
Merged

Use the real fs module if in a require() call#139
tschaub merged 1 commit into
masterfrom
lazy-require

Conversation

@tschaub

@tschaub tschaub commented Jul 8, 2016

Copy link
Copy Markdown
Owner

This makes it so require() calls work as expected (with the real fs) even after a mock is created.

Fixes #130.
Fixes #12.

@tschaub
tschaub merged commit ae5469c into master Jul 9, 2016
@tschaub
tschaub deleted the lazy-require branch July 9, 2016 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant