From 4673efd4c46c872a75014b18d40e1ad97d0b12b7 Mon Sep 17 00:00:00 2001 From: larshp Date: Sun, 1 Mar 2020 13:28:02 +0100 Subject: [PATCH] Mocha, fix deprecation warning regarding mocha.opts --- .mocharc.json | 5 +++++ .npmignore | 3 +++ test/mocha.opts | 3 --- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .mocharc.json delete mode 100644 test/mocha.opts diff --git a/.mocharc.json b/.mocharc.json new file mode 100644 index 00000000..ba5dff7c --- /dev/null +++ b/.mocharc.json @@ -0,0 +1,5 @@ +{ + "delay": true, + "ui": "tdd", + "spec": "test/all.js" +} diff --git a/.npmignore b/.npmignore index fa3b24da..5b66ec4b 100644 --- a/.npmignore +++ b/.npmignore @@ -8,3 +8,6 @@ /tsconfig.json /.npmignore /.travis.yml +/.mocharc.json +/.editorconfig +/azure-pipelines.yml diff --git a/test/mocha.opts b/test/mocha.opts deleted file mode 100644 index 6a755a82..00000000 --- a/test/mocha.opts +++ /dev/null @@ -1,3 +0,0 @@ ---delay ---ui tdd -test/all.js \ No newline at end of file