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
{{ message }}
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.
> jest -c jest.config.js --coverage
FAIL src/lib/group.test.ts
● Test suite failed to run
TypeError: enzyme_adapter_react_17_1.default is not a constructor
4 | import Adapter from '@wojtekmaj/enzyme-adapter-react-17';
5 |> 6 | configure({ adapter: new Adapter() });
| ^
at Object.<anonymous> (setupEnzyme.ts:6:22)
at TestScheduler.scheduleTests (node_modules/@jest/core/build/TestScheduler.js:333:13)
at runJest (node_modules/@jest/core/build/runJest.js:401:19)
I keep getting errors following the documentation for setting up Enzyme with the default export, like in #21.
setupEnzyme.ts
with packages:
and the error jest output:
I need to import like below to start jest runs.
The text was updated successfully, but these errors were encountered: