Search code examples
Next.js and Jest: SyntaxError: Cannot use import statement outside a module...


javascripttypescriptjestjsnext.jsbabel-jest

Read More
Jest won't transform the module - SyntaxError: Cannot use import statement outside a module...


typescriptjestjsbabel-jestts-jest

Read More
Jest Unit tests are failing...


reactjsjestjsbabel-jest

Read More
babel@7 and jest configuration...


babeljsjestjsbabel-jestbabel-core

Read More
Babel isn't transforming imports to require for Jest tests...


javascriptjestjsbabeljsbabel-jest

Read More
Why does the stack trace for my jest tests point to the wrong line numbers?...


javascriptreactjsjestjsbabeljsbabel-jest

Read More
How to test a getter and setter in Jest (Angular)...


angulartypescriptunit-testingjestjsbabel-jest

Read More
Can't run unit tests after migrating to vue3...


vuejs2jestjsvuejs3babel-jestvuetifyjs3

Read More
Jest - SyntaxError: Unexpected identifier...


javascriptnode.jsjestjsbabel-jest

Read More
Compiled TypeScript code requires ".js" extension in imports but Jest requires no extensio...


typescriptbabel-jest

Read More
Error while loading config - You appear to be using a native ECMAScript module configuration file...


node.jsjestjsbabeljses6-modulesbabel-jest

Read More
Error running Jest and pdfjs-dist v4, not handling .mjs files...


jestjsts-jestbabel-jest

Read More
Mocking globals in Jest...


javascriptunit-testingdependenciesjestjsbabel-jest

Read More
Jest test with TypeScript does not recognize import alias...


typescriptunit-testingtestingjestjsbabel-jest

Read More
Jest encountered an unexpected token + react markdown...


reactjstestingts-jestbabel-jestreact-tsx

Read More
Jest error: Jest encountered an unexpected token - query-string import...


reactjsjestjsvitequery-stringbabel-jest

Read More
Code coverage not working as expected on Linux and Mac...


jestjsts-jestbabel-jest

Read More
Ts-jest SyntaxError: Cannot use import statement outside a module...


javascripttypescriptjestjsts-jestbabel-jest

Read More
Jest Configuration Error: Cannot Use Import Statement Outside a Module in React and TypeScript Proje...


reactjsjestjsts-jestbabel-jest

Read More
React Native Jest testing timed out problem...


react-nativetestingreact-hooksjestjsbabel-jest

Read More
Jest/React testing error "SyntaxError: Private field '#root' must be declared in an enc...


reactjsjestjsreact-testing-librarybabel-jest

Read More
How to setup jest with node_modules that use es6...


reactjsjestjsbabeljsbabel-jest

Read More
testing conditional component in react...


reactjsreact-testing-librarybabel-jest

Read More
export/import class to test its methods and constructor...


javascriptwebpackjestjsbabel-jest

Read More
Does Jest support ES6 import/export?...


ecmascript-6jestjsbabel-jest

Read More
Jest - `Cannot create styled-component for component: undefined`...


jestjsstyled-componentsbabel-jest

Read More
Babel and Jest configuration: SyntaxError: Cannot use import statement outside a module...


javascriptjestjsbabel-jest

Read More
Testing code using one of Jest globals' names as a top-level identifier...


jestjsbabel-jest

Read More
Mocking `document` in jest...


jestjsjsdombabel-jest

Read More
Element type is invalid: expected a string (for built-in components) or a class/function (for compos...


reactjsreact-nativejestjsbabel-jest

Read More
BackNext