Skip to content

Commit

Permalink
Fix test file
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed May 13, 2024
1 parent 4788b5e commit 661ed59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/jest-preset-default/scripts/setup-globals.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Run all tests with development tools enabled.
global.SCRIPT_DEBUG = true;
// eslint-disable-next-line @wordpress/wp-global-usage
globalThis.SCRIPT_DEBUG = true;

// These are necessary to load TinyMCE successfully.
global.URL = window.URL;
Expand Down

0 comments on commit 661ed59

Please sign in to comment.