Replace jest with mocha
Showing
- .mocharc.cjs 3 additions, 0 deletions.mocharc.cjs
- jest.config.js 0 additions, 205 deletionsjest.config.js
- package-lock.json 10054 additions, 0 deletionspackage-lock.json
- package.json 7 additions, 9 deletionspackage.json
- spec/.eslintrc 4 additions, 4 deletionsspec/.eslintrc
- spec/dependencies_test.js 17 additions, 18 deletionsspec/dependencies_test.js
- spec/file-depencies_test.js 17 additions, 21 deletionsspec/file-depencies_test.js
- spec/file_caching_test.js 38 additions, 43 deletionsspec/file_caching_test.js
- spec/headers_test.js 20 additions, 24 deletionsspec/headers_test.js
- spec/manifest_parsing_test.js 8 additions, 9 deletionsspec/manifest_parsing_test.js
- spec/meta_test.js 22 additions, 26 deletionsspec/meta_test.js
- spec/server_test.js 36 additions, 46 deletionsspec/server_test.js
- spec/util.js 14 additions, 0 deletionsspec/util.js
- spec/util_test.js 7 additions, 7 deletionsspec/util_test.js
- yarn.lock 720 additions, 4080 deletionsyarn.lock
.mocharc.cjs
0 → 100644
jest.config.js
deleted
100644 → 0
package-lock.json
0 → 100644
source diff could not be displayed: it is too large. Options to address this: view the blob.
... | ... | @@ -9,7 +9,7 @@ |
"start": "node src/index.js", | ||
"dev": "nodemon index.js", | ||
"prepare": "husky install", | ||
"test": "LOG_LEVEL=error NODE_OPTIONS=--experimental-vm-modules jest --no-cache", | ||
"test": "LOG_LEVEL=error mocha --parallel", | ||
"release-chart": "cd helm/core-ui-middleware/ && npx --package=@open-xchange/release-it -- release-it", | ||
"release-app": "npx --package=@open-xchange/release-it -- release-it", | ||
"release": "yarn release-chart && yarn release-app" | ||
... | ... | @@ -21,7 +21,6 @@ |
"@open-xchange/logging": "^0.0.9", | ||
"@open-xchange/metrics": "^0.0.1", | ||
"dotenv-defaults": "^5.0.0", | ||
"eslint-config-standard": "^16.0.2", | ||
"express": "^4.17.1", | ||
"helmet": "^5.0.1", | ||
"js-yaml": "^4.0.0", | ||
... | ... | @@ -29,22 +28,21 @@ |
"swagger-ui-express": "^4.1.6" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-preset-env": "^1.7.0", | ||
"chai": "^4.3.6", | ||
"eslint": "^8.6.0", | ||
"eslint-config-standard": "^16.0.2", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-jest": "^26.0.0", | ||
"eslint-plugin-mocha": "^10.0.3", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"husky": ">=6", | ||
"jest": "^27.1.0", | ||
"jest-extended": "^1.2.0", | ||
"jest-junit": "^13.0.0", | ||
"lint-staged": ">=10", | ||
"mock-fs": "^5.0.0", | ||
"mocha": "^9.2.1", | ||
"nodemon": "^2.0.7", | ||
"superagent": "^7.1.1", | ||
"supertest": "^6.1.6" | ||
"supertest": "^6.1.6", | ||
"testdouble": "^3.16.4" | ||
}, | ||
"lint-staged": { | ||
"*.js": "eslint --cache --fix" | ||
... | ... |
source diff could not be displayed: it is too large. Options to address this: view the blob.
Please register or sign in to comment