You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
having the import line import clipboard from "clipboardy"; in a test file (that I run with jest) causes the following error to be thrown:
/.../node_modules/clipboardy/index.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import process from 'node:process';
^^^^^^
SyntaxError: Cannot use import statement outside a module
The text was updated successfully, but these errors were encountered:
having the import line
import clipboard from "clipboardy";
in a test file (that I run with jest) causes the following error to be thrown:The text was updated successfully, but these errors were encountered: