mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-24 23:49:06 +08:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user