Added identity-obj-proxy as discussed here: https://linear.app/comm/issue/ENG-2654/problems-with-jest
That's the way to deal with .css imports in tested .js files. Usually .js files contains utility that shouldn't import
css, but sometimes they do and that's what failed after yarn test in web.
After installing that and some modifications in jest config it works.
Addign @ashoat as a reviewer as I added deps. At some point we may want to add it in other directories too, if we'll need to ignore some imports.
Details
Details
- Reviewers
tomek ashoat atul - Commits
- rCOMM6e5caa7b7110: [web][tests] Added package to fix tests
Runned yarn test in web. Worked and tests passed instead of crashing.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- fix/jest-fix-css-imports
- Lint
No Lint Coverage - Unit
No Test Coverage