From bea8bb0519db0f1110aa52521dac0347ebd36e67 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Mon, 11 Jan 2021 18:45:45 +0000 Subject: [PATCH] refactor: remove mocha --- .eslintrc.yaml | 2 +- ci/dev/test.sh | 2 +- package.json | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.eslintrc.yaml b/.eslintrc.yaml index 738b0ee20..edb20bfe1 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -2,7 +2,7 @@ parser: "@typescript-eslint/parser" env: browser: true es6: true # Map, etc. - mocha: true + jest: true node: true parserOptions: diff --git a/ci/dev/test.sh b/ci/dev/test.sh index 9922a9c84..613e25c3f 100755 --- a/ci/dev/test.sh +++ b/ci/dev/test.sh @@ -7,7 +7,7 @@ main() { cd test/test-plugin make -s out/index.js cd "$OLDPWD" - mocha -r ts-node/register ./test/*.test.ts "$@" + yarn jest "$@" } main "$@" diff --git a/package.json b/package.json index 24e9008c3..0f73c9793 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,6 @@ "@types/http-proxy": "^1.17.4", "@types/jest": "^26.0.20", "@types/js-yaml": "^3.12.3", - "@types/mocha": "^8.0.3", "@types/node": "^12.12.7", "@types/node-fetch": "^2.5.7", "@types/parcel-bundler": "^1.12.1", @@ -58,7 +57,6 @@ "eslint-plugin-prettier": "^3.1.0", "jest": "^26.6.3", "leaked-handles": "^5.2.0", - "mocha": "^8.1.2", "parcel-bundler": "^1.12.4", "prettier": "^2.0.5", "stylelint": "^13.0.0",