refactor: remove mocha
This commit is contained in:
parent
de7d0394ae
commit
bea8bb0519
@ -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:
|
||||||
|
@ -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 "$@"
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user