Search code examples
The CSS file is not taken into account in the tests of my custom library...


unit-testingtestingreact-testing-libraryvitestjest-dom

Read More
How to mock navigator.clipboard.writeText() in Jest?...


typescriptjestjsjsdomjest-dom

Read More
Mock animate function in react-testing-library / jest...


javascriptreactjsjestjsreact-testing-libraryjest-dom

Read More
React + Jest: test hangs forever whenever I try to access DOM properties (i.e.: toHaveStyle)...


reactjstestingjestjsreact-testing-libraryjest-dom

Read More
Jest-dom TypeError: $toString is not a function , Typescript, React, Next.js...


typescriptnext.jsts-jesttesting-libraryjest-dom

Read More
"Unresolved function or method toHaveValue()" and "Argument types do not match parame...


reactjswebstormreact-testing-libraryvitestjest-dom

Read More
Reasons to use getBy* in conjunction with toBeInTheDocument...


reactjsreact-testing-libraryjest-dom

Read More
Trouble testing React component render with Jest and Testing-Library because there's no Document...


reactjstestingdomjestjsjest-dom

Read More
Jest's `it.each` causes a 'Expected done to be called once, but it was called multiple times...


javascriptreactjsjestjsreact-testing-libraryjest-dom

Read More
jest: ReferenceError: KeyframeEffect is not defined...


reactjsunit-testingjestjsreact-testing-libraryjest-dom

Read More
Testing with 'toHaveStyle' passes when expecting fail...


cssreactjsjestjsreact-testing-libraryjest-dom

Read More
Jest-dom how to check if component have styles by id...


reactjsjestjsjest-dom

Read More
Can't test the input checkbox properly when the element is disabled using @testing-library/vue...


vue.jsjestjstesting-libraryjest-domvue-testing-library

Read More
toHaveValue returns null while the input's value is 0...


reactjsjestjsreact-testing-libraryjest-dom

Read More
Is there any way to use Jest and jest-dom together without having to transpile?...


javascriptmodulejestjsjest-dom

Read More
Can't import @testing-library/jest-dom, expect.extend is not a function...


reactjsreact-testing-libraryjest-dom

Read More
Got TypeError: expect(...).toBeInTheDocument is not a function even after proper setup...


jest-dom

Read More
How to use jest-dom without Jest...


typescriptreact-testing-libraryjest-dom

Read More
Set size of window in Jest and jest-dom and jsdom...


javascriptjestjsjest-dom

Read More
expect(...).toHaveAttribute is not a function despite properly extending it...


javascripttestingjestjsdetoxjest-dom

Read More
BackNext