From 0dd1c1e459cc75649127cedaf24bc968826d615b Mon Sep 17 00:00:00 2001 From: microshine Date: Fri, 13 Mar 2020 14:19:52 +0300 Subject: [PATCH] Update mocha options --- package.json | 7 ++++++- test/mocha.opts | 2 -- 2 files changed, 6 insertions(+), 3 deletions(-) delete mode 100644 test/mocha.opts diff --git a/package.json b/package.json index 0156968..27bce74 100644 --- a/package.json +++ b/package.json @@ -90,5 +90,10 @@ }, "engines": { "node": ">=10.12.0" + }, + "mocha": { + "require": "ts-node/register", + "extension": ["ts"], + "files": "test/**/*.ts" } -} +} \ No newline at end of file diff --git a/test/mocha.opts b/test/mocha.opts deleted file mode 100644 index 5ed99a2..0000000 --- a/test/mocha.opts +++ /dev/null @@ -1,2 +0,0 @@ ---require ts-node/register -test/**/*.ts \ No newline at end of file