Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

cannot use import statement outside a module in jest

"scripts": {
    "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #import #statement #module #jest
ADD COMMENT
Topic
Name
5+2 =