diff --git a/package.json b/package.json index 7bf4938..ec49be7 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "postpack": "rm -f oclif.manifest.json", "posttest": "eslint . --ext .ts --config .eslintrc", "prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme", - "test": "bin/run init && TS_NODE_FILES=true nyc --reporter=html --reporter=text --extension .ts mocha --forbid-only \"test/**/*.test.ts\"", + "test": "bin/run init && TS_NODE_FILES=true nyc --reporter=html --reporter=text --extension .ts mocha --require ts-node/register --forbid-only \"test/**/*.test.ts\"", "version": "oclif-dev readme && git add README.md", "lint": "eslint . --ext .ts,.js --ignore-pattern coverage", "release": "np --no-2fa" diff --git a/test/mocha.opts b/test/mocha.opts deleted file mode 100644 index 73fb836..0000000 --- a/test/mocha.opts +++ /dev/null @@ -1,5 +0,0 @@ ---require ts-node/register ---watch-extensions ts ---recursive ---reporter spec ---timeout 5000