Skip to content

Commit

Permalink
fix: jest config
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecorrea committed Jan 16, 2024
1 parent e1ba1c3 commit 60955a3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"@babel/plugin-proposal-class-properties"
],
"ignore": [
"**/*.stories.js",
"**/*.test.js"
"**/*.stories.js"
]
}
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint": "standard --fix",
"prebuild": "rm -rf dist",
"build": "babel ./src --out-dir dist -s inline",
"postbuild": "tsc",
"postbuild": "rm -rf dist/*.test.js && tsc",
"build:storybook": "storybook build -c .storybook -o docs",
"start": "storybook dev"
},
Expand Down Expand Up @@ -84,7 +84,12 @@
"moduleNameMapper": {
"^.+\\.(css|sass|scss|less)$": "<rootDir>/mock/empty-module.js",
"^.+\\.(png|jpg|jpeg|gif)$": "<rootDir>/mock/empty-module.js"
}
},
"testPathIgnorePatterns": [
"node_modules",
"dist",
"docs"
]
},
"browserslist": {
"production": [
Expand Down

0 comments on commit 60955a3

Please sign in to comment.