jsdom-testing-mocks
jsdom-testing-mocks copied to clipboard
A set of tools for emulating browser behavior in jsdom environment
Hi with version 1.4.0 this error starts to appear. Node version 14.20.0 Jest version 27.5.1 jsdom => [email protected] ```text FAIL src/components/object-message/object-message.unit.js ● Test suite failed to run TypeError: Cannot redefine...
Hi, thank you for your awesome library.) I have been trying to test my own library and I encountered strange behavior. But, it's work in a [browser](https://codesandbox.io/s/stoic-david-ms7uyl?file=/src/App.js). I'm using `jsdom-testing-mocks`...
Based on the name of this library I would have assumed that it was testing-library-agnostic, but it uses jest-specific mocking functions and therefore can't be used with other libraries like...
[VisualViewport](https://developer.mozilla.org/en-US/docs/Web/API/Window/visualViewport) is a window property primarily aimed at supporting pinch-zoom interactions. I came across it while debugging an issue with [floating-ui](https://floating-ui.com/). It seems like it would make sense to also...
This removes a lot of the `npm audit` problems. Happy to downgrade versions in this PR if requested.