Skip to content

Commit ad21296

Browse files
committed
[meta] move jest config to separate file
1 parent 5d342c9 commit ad21296

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

jest.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module.exports = {
2+
coverageReporters: [
3+
'lcov',
4+
'html',
5+
'json',
6+
],
7+
coverageDirectory: 'coverage',
8+
testPathIgnorePatterns: [
9+
'/node_modules/',
10+
'helper.js',
11+
],
12+
};

package.json

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,25 +58,14 @@
5858
"url": "https://github.com/jsx-eslint/jsx-ast-utils"
5959
},
6060
"license": "MIT",
61-
"jest": {
62-
"coverageReporters": [
63-
"lcov",
64-
"html",
65-
"json"
66-
],
67-
"coverageDirectory": "coverage",
68-
"testPathIgnorePatterns": [
69-
"/node_modules/",
70-
"helper.js"
71-
]
72-
},
7361
"dependencies": {
7462
"array-includes": "^3.1.5",
7563
"object.assign": "^4.1.2"
7664
},
7765
"publishConfig": {
7866
"ignore": [
79-
".github/workflows"
67+
".github/workflows",
68+
"jest.config.js"
8069
]
8170
}
8271
}

0 commit comments

Comments
 (0)