You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
workaround: '^@testing-library/preact$': '<rootDir>/../../node_modules/@testing-library/preact/dist/cjs/index.js', in jest moduleNameMapper (i'm using lerna so ../.. to use root node_modules, you can need to adjust it.
Any update here? This seems to completely block me from using the preact testing-library. Since this ticket is relatively old, I'm wondering if this library is not well-supported? If so, can someone point me to a better tool to use for testing preact components?
@testing-library/preact
version:3.2.3
preact
version:10.13.2
node
version:18.14.0
npm
version:9.3.1
What happened:
Starting with
v3.1.0
i have problems running my tests with jest.When running jest i get following error:
The text was updated successfully, but these errors were encountered: