-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sometimes the env was torn down when it was still needed by dynamic imports.
- Loading branch information
1 parent
8363f4d
commit e41519f
Showing
3 changed files
with
146 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/build/index.js b/build/index.js | ||
index c3ff0a86f659f678280bed4e511f5dd145b64939..65e1ff670bed80f9095b9dd170846455a71a2b89 100644 | ||
--- a/build/index.js | ||
+++ b/build/index.js | ||
@@ -150,7 +150,7 @@ class NodeEnvironment { | ||
this.fakeTimersModern.dispose(); | ||
} | ||
|
||
- this.context = null; | ||
+ //this.context = null; | ||
this.fakeTimers = null; | ||
this.fakeTimersModern = null; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters