Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Add link to PR which would remove the need for the hack file -- jestj…
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeChampion committed Jul 6, 2021
1 parent 05b9097 commit 8491fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/js/helpers/hack.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
// pretty-format makes use of `global`...
// -> Line 10 of https://unpkg.com/browse/[email protected]/build/plugins/AsymmetricMatcher.js
// The line in the file above is `var Symbol = global['jest-symbol-do-not-touch'] || global.Symbol;`

// This Pull-Request would fix the issue -- https://github.com/facebook/jest/pull/11569
window.global = window;

0 comments on commit 8491fb0

Please sign in to comment.