Search code examples
Error while loading config - You appear to be using a native ECMAScript module configuration file...


node.jsjestjsbabeljses6-modulesbabel-jest

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


typescriptjestjsbabel-jestts-jest

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


reactjsjestjsreact-testing-librarybabel-jest

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


reactjstestingts-jestbabel-jestreact-tsx

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
Next.js and Jest: SyntaxError: Cannot use import statement outside a module...


javascripttypescriptjestjsnext.jsbabel-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
Jest test case updated the mocked data object for next test case...


javascriptunit-testingjestjsmockingbabel-jest

Read More
Jest mocking of the readOnly function from dependant file...


javascriptunit-testingjestjsts-jestbabel-jest

Read More
Jest encountered an unexpected token...


reactjsunit-testingjestjsreact-testing-librarybabel-jest

Read More
native ECMAScript module configuration file causes unit test to fail...


vue.jsjestjsvuejs3ts-jestbabel-jest

Read More
jest: Test suite failed to run, TypeError: Cannot read property 'bind' of undefined...


react-nativejestjsbabel-jest

Read More
Jest + @testing-library/react throws error on a .mjs file from [dom-accessibility-api] library...


reactjsunit-testingjestjsreact-testing-librarybabel-jest

Read More
How to test a function from a svelte component with jest?...


jestjssveltets-jestbabel-jest

Read More
jest config is throwing "type ErrorHandler = (error: mixed, isFatal: boolean) => void" ...


react-nativejestjsbabel-jest

Read More
TypeError: Cannot assign to read only property 'x' of object '#<Object>' React...


reactjsjestjsenzymebabel-jest

Read More
jest: unable to mock methods/hooks using `jest.spyOn`...


javascriptnext.jsjestjsbabel-jest

Read More
Mocking API calls with authorisation using JEST...


reactjsaxiosbabel-jest

Read More
Undefined response when using JEST to do API testing...


reactjsaxiosbabel-jest

Read More
jest test fails after installing react-native-async-storage...


react-nativejestjsbabel-jest

Read More
TypeError: Cannot read property 'params' of undefined Jest Testing - React Native...


typescriptreact-nativejestjsbabel-jestreact-test-renderer

Read More
React Jest causing "SyntaxError: Unexpected token ."...


reactjsjestjsbabel-jest

Read More
VueJS - Unit testing with vue-test-utils gives error - TypeError: _vm.$t is not a function...


vue.jssassjestjsbabel-jestvue-test-utils

Read More
BackNext