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


javascripttypescriptjestjsnext.jsbabel-jest

Read More
How to mock ResizeObserver to work in unit tests using react testing library...


reactjsunit-testingjestjsreact-testing-librarywindow-resize

Read More
VS Code not recognizing Jest, underlining with Intellisense...


javascriptnode.jstypescriptvisual-studio-codejestjs

Read More
How to mock javascipt new Date to return different date from browser console...


javascriptdatejestjsmocking

Read More
Jest: mocking console.error - tests fails...


javascriptreactjsjestjsenzyme

Read More
Testing two environments with jest...


jestjs

Read More
Parent node in react-testing-library...


htmljestjsreact-testing-library

Read More
Is there a tidy way to narrow types as a result of Jest assertions?...


typescriptjestjs

Read More
ReferenceError: You are trying to `import` a file after the Jest environment has been torn down...


javascriptreactjsreact-nativejestjsenzyme

Read More
Why does my react tests fail in CI-pipeline due to "not wrapped in act()", while working f...


reactjstestingjestjsgitlab-cireact-testing-library

Read More
Why does Jest's toStrictEqual fail to match JSON responses made using the fetch API?...


javascriptjestjsfetch-api

Read More
react-testing-library why is toBeInTheDocument() not a function...


javascriptreactjsunit-testingjestjsreact-testing-library

Read More
Jest URL.createObjectURL is not a function...


javascriptreactjstestingblobjestjs

Read More
Is it standard for Jest to exit with a status 1 if any test fails?...


node.jsjestjs

Read More
React Testing Library unable to find text even though screen.debug() shows the text to exist...


reactjsjestjsreact-testing-library

Read More
How to mock setTimeout in a Jest unit test using FakeTimers?...


javascripttypescriptunit-testingjestjs

Read More
Jest: Testing window.location.reload...


javascriptjestjs

Read More
I'm trying to test the test file but it keep showing an error for Axios...


reactjstypescriptjestjs

Read More
How to mock a constructor like new Date()...


javascriptjestjs

Read More
Why am I getting "TextEncoder is not defined" in Jest?...


javascriptjestjsjsdomtextdecoder

Read More
NestJS with Automock gets undefined in dependency mock...


jestjsnestjstypeormautomocking

Read More
How to mock window.location.href with Jest + Vuejs?...


vue.jsunit-testingjestjsjasminevue-test-utils

Read More
How to mock a nest-winston logger dependency in nestjs unit tests...


typescriptunit-testingjestjsnestjsnest-winston

Read More
Mock Injected Service In Unit Testing Nest.js...


node.jsjestjsnestjs

Read More
Jest No Tests found...


javascriptnode.jsunit-testingjestjs

Read More
Unable to use getByRole on listitem with a specific name - RTL...


reactjstestingjestjsreact-testing-librarytesting-library

Read More
Jest Test Error: browserType.launch: setImmediate is not defined. While using Playwright...


javascriptjestjsplaywright

Read More
Node.js --experimental-vm-modules command line option vs "type": "module" in pac...


node.jsjestjsbabeljses6-modules

Read More
HttpClientTestingModule is deprecated, how to replace it?...


angularjestjsangular18angular-jest

Read More
How to mock readonly property in nodejs using jest...


javascriptnode.jstypescriptjestjsnestjs

Read More
BackNext