Skip to content

Commit

Permalink
Extracted jest config
Browse files Browse the repository at this point in the history
  • Loading branch information
swernerx committed Jan 20, 2022
1 parent 795dfd2 commit 84d665d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
9 changes: 9 additions & 0 deletions jest.config.json
@@ -0,0 +1,9 @@
{
"setupFiles": ["./jest.setup.js"],
"testTimeout": 50000,
"testEnvironment": "node",
"testMatch": ["**/*.test.js"],
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
}
17 changes: 1 addition & 16 deletions package.json
Expand Up @@ -13,9 +13,7 @@
"babel"
],
"engines": {
"node": ">=10.0.0",
"npm": ">=4.0.0",
"yarn": ">=1.0.0"
"node": ">=16.0.0"
},
"bin": {
"preppy": "bin/preppy"
Expand All @@ -38,19 +36,6 @@
"test": "npm run prepare && jest",
"prepare": "rimraf bin && babel-node src/cli.js"
},
"jest": {
"setupFiles": [
"./jest.setup.js"
],
"testTimeout": 50000,
"testEnvironment": "node",
"testMatch": [
"**/*.test.js"
],
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/sebastian-software/preppy.git"
Expand Down

0 comments on commit 84d665d

Please sign in to comment.