diff options
Diffstat (limited to '')
| -rw-r--r-- | jsdom-workaround.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jsdom-workaround.js b/jsdom-workaround.js new file mode 100644 index 0000000..63e15a8 --- /dev/null +++ b/jsdom-workaround.js @@ -0,0 +1,4 @@ +// Workaround for jsdom issue: https://github.com/jsdom/jsdom/issues/2961 +if (typeof globalThis === 'undefined') { + global.globalThis = global; +} |
