Skip to content

Commit

Permalink
[meta] move jest config to separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jun 22, 2022
1 parent 5d342c9 commit ad21296
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
12 changes: 12 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
coverageReporters: [
'lcov',
'html',
'json',
],
coverageDirectory: 'coverage',
testPathIgnorePatterns: [
'/node_modules/',
'helper.js',
],
};
15 changes: 2 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,25 +58,14 @@
"url": "https://github.com/jsx-eslint/jsx-ast-utils"
},
"license": "MIT",
"jest": {
"coverageReporters": [
"lcov",
"html",
"json"
],
"coverageDirectory": "coverage",
"testPathIgnorePatterns": [
"/node_modules/",
"helper.js"
]
},
"dependencies": {
"array-includes": "^3.1.5",
"object.assign": "^4.1.2"
},
"publishConfig": {
"ignore": [
".github/workflows"
".github/workflows",
"jest.config.js"
]
}
}

0 comments on commit ad21296

Please sign in to comment.