Archived
1
0

refactor: remove mocha

This commit is contained in:
Joe Previte 2021-01-11 18:45:45 +00:00
parent de7d0394ae
commit bea8bb0519
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24
3 changed files with 2 additions and 4 deletions

View File

@ -2,7 +2,7 @@ parser: "@typescript-eslint/parser"
env: env:
browser: true browser: true
es6: true # Map, etc. es6: true # Map, etc.
mocha: true jest: true
node: true node: true
parserOptions: parserOptions:

View File

@ -7,7 +7,7 @@ main() {
cd test/test-plugin cd test/test-plugin
make -s out/index.js make -s out/index.js
cd "$OLDPWD" cd "$OLDPWD"
mocha -r ts-node/register ./test/*.test.ts "$@" yarn jest "$@"
} }
main "$@" main "$@"

View File

@ -37,7 +37,6 @@
"@types/http-proxy": "^1.17.4", "@types/http-proxy": "^1.17.4",
"@types/jest": "^26.0.20", "@types/jest": "^26.0.20",
"@types/js-yaml": "^3.12.3", "@types/js-yaml": "^3.12.3",
"@types/mocha": "^8.0.3",
"@types/node": "^12.12.7", "@types/node": "^12.12.7",
"@types/node-fetch": "^2.5.7", "@types/node-fetch": "^2.5.7",
"@types/parcel-bundler": "^1.12.1", "@types/parcel-bundler": "^1.12.1",
@ -58,7 +57,6 @@
"eslint-plugin-prettier": "^3.1.0", "eslint-plugin-prettier": "^3.1.0",
"jest": "^26.6.3", "jest": "^26.6.3",
"leaked-handles": "^5.2.0", "leaked-handles": "^5.2.0",
"mocha": "^8.1.2",
"parcel-bundler": "^1.12.4", "parcel-bundler": "^1.12.4",
"prettier": "^2.0.5", "prettier": "^2.0.5",
"stylelint": "^13.0.0", "stylelint": "^13.0.0",