From 65beb3a41e43f92ce766a37ecbccc373ab3e0a3c Mon Sep 17 00:00:00 2001 From: Andreas Lind Date: Thu, 24 Dec 2020 15:40:13 +0100 Subject: [PATCH] Update mocha to ^8.2.1, switch to .mocharc.json --- .mocharc.json | 5 +++++ package.json | 2 +- test/mocha.opts | 1 - 3 files changed, 6 insertions(+), 2 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 0000000..47a8703 --- /dev/null +++ b/.mocharc.json @@ -0,0 +1,5 @@ +{ + "reporter": "spec", + "recursive": true, + "timeout": 4000 +} diff --git a/package.json b/package.json index 0fd02f4..17d5196 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "jpegtran": "1.0.6", "jsdom": "^15.1.1", "memoizesync": "0.5.0", - "mocha": "6.2.0", + "mocha": "^8.2.1", "nyc": "^14.1.1", "offline-github-changelog": "^1.7.0", "optipng": "2.1.0", diff --git a/test/mocha.opts b/test/mocha.opts deleted file mode 100644 index 249dda9..0000000 --- a/test/mocha.opts +++ /dev/null @@ -1 +0,0 @@ ---timeout 4000