Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Oct 16, 2015
1 parent 6f1be47 commit 6811c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function applyTestFrameworkPatchWhenLoaded(mod) {

if (testFrameworkPatch.applyPatch() && typeof require === 'function' && require.cache) {
// Make sure that the 'it' global gets patched in every context where Unexpected is required,
// but prevent rereading index.js from disc each time:
// but prevent rereading index.js and the chain of parent modules from disc each time:

for (var mod = module ; mod ; mod = mod.parent) {
applyTestFrameworkPatchWhenLoaded(mod);
Expand Down

0 comments on commit 6811c8f

Please sign in to comment.