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 Jun 15, 2021
1 parent 0817a3c commit a9db95c
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 a9db95c

Please sign in to comment.