Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 740dc6a

Browse files
committed
Fix tests + identity proxy 🚀
1 parent df4d54b commit 740dc6a

File tree

4 files changed

+1
-36
lines changed

4 files changed

+1
-36
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Release date: 2024-12-30
1414
- algolia search implementation
1515
- loadable components
1616
- unused/useless deps
17+
- fixed tests config (removed css mapper + fix errors)
1718

1819
#### Fixed
1920

jest.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ module.exports = {
44
"^.+\\.[jt]sx?$": `<rootDir>/jest-preprocess.js`,
55
},
66
moduleNameMapper: {
7-
".+\\.(css|styl|less|sass|scss)$": `identity-obj-proxy`,
87
".+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": `<rootDir>/__mocks__/file-mock.js`,
98
},
109
testPathIgnorePatterns: [`node_modules`, `\\.cache`, `<rootDir>.*/public`],

package-lock.json

Lines changed: 0 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@
109109
"eslint-plugin-react": "^7.37.3",
110110
"eslint-plugin-testing-library": "^7.1.1",
111111
"gh-pages": "^6.2.0",
112-
"identity-obj-proxy": "^3.0.0",
113112
"jest": "^29.7.0",
114113
"jest-environment-jsdom": "^29.7.0",
115114
"prettier": "^3.4.2",

0 commit comments

Comments
 (0)