Skip to content

Commit

Permalink
chore(jest): Mock stylesheets files
Browse files Browse the repository at this point in the history
  • Loading branch information
janigowski committed Jun 23, 2019
1 parent e18fb8c commit 5dbd986
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions __mocks__/styleMock.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@
"collectCoverage": true,
"collectCoverageFrom": [
"src/*.js"
]
],
"moduleNameMapper": {
"\\.(css|less|sass|scss)$": "<rootDir>/__mocks__/styleMock.js"
}
},
"dependencies": {
"lodash": "4.17.11",
Expand Down

0 comments on commit 5dbd986

Please sign in to comment.