Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make globalThis more compatible with jest (#1956)
* fix: make globalThis more compatible with jest * chore: oops * chore: cleanup * chore: cleanup
- Loading branch information
1 parent
5c06494
commit 55049f4
Showing
5 changed files
with
28 additions
and
2 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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export const GLOBAL_EXPECT = Symbol.for('expect-global') | ||
export const MATCHERS_OBJECT = Symbol.for('matchers-object') | ||
export const JEST_MATCHERS_OBJECT = Symbol.for('$$jest-matchers-object') |
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
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