Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
fix(jest_config): add scss|sass as extensions to mock by jest
Browse files Browse the repository at this point in the history
fix(jest_config): add scss|sass as extensions to mock by jest
  • Loading branch information
Metnew committed Oct 30, 2017
1 parent 31207b1 commit 210fb1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest_config/jest.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"automock": false,
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/jest_config/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/jest_config/__mocks__/styleMock.js"
"\\.(css|less|scss|sass)$": "<rootDir>/jest_config/__mocks__/styleMock.js"
},
"coveragePathIgnorePatterns": ["style.jsx", "/styles"]
}

0 comments on commit 210fb1b

Please sign in to comment.