refactor: simplify jest config (#42136)

* refactor: bring api jest tests to root

* refactor: pull client tests to root

* fix: remove ancient curriculum babelrc

* feat: run all jest tests at once

* fix: remove unused babelrcRoot

* chore: remove more jests
This commit is contained in:
Oliver Eyton-Williams
2021-05-16 18:08:04 +05:30
committed by GitHub
parent 8ba3b8c16c
commit 1c1d86922c
21 changed files with 1556 additions and 22985 deletions
+1 -4
View File
@@ -22,8 +22,7 @@
"babel-dev-server": "babel-node --inspect=0.0.0.0 ./src/server/index.js",
"build": "babel src --out-dir lib --ignore 'node_modules /**/*','/**/*.test.js' --copy-files --no-copy-ignored",
"develop": "cross-env DEBUG=fcc* node src/development-start.js",
"start": "cross-env DEBUG=fcc* node lib/production-start.js",
"test": "jest"
"start": "cross-env DEBUG=fcc* node lib/production-start.js"
},
"resolutions": {
"babel-core": "7.0.0-bridge.0"
@@ -82,10 +81,8 @@
"@babel/preset-env": "^7.13.15",
"@babel/register": "^7.13.14",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.9.0",
"babel-plugin-transform-function-bind": "^6.22.0",
"babel-plugin-transform-imports": "^1.5.1",
"jest": "^26.6.3",
"loopback-component-explorer": "^6.4.0",
"nodemon": "^2.0.7",
"smee-client": "^1.2.2"