From 40ce105e5784d936bd0bbe02dcd2a5921733b11c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Fri, 28 Aug 2020 08:37:39 +0200 Subject: [PATCH] update mocha to 8.x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miroslav Bajtoš --- .mocharc.json | 5 +++++ package.json | 2 +- test/mocha.opts | 3 --- 3 files changed, 6 insertions(+), 4 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..ac391d9 --- /dev/null +++ b/.mocharc.json @@ -0,0 +1,5 @@ +{ + "globals": "getSchema", + "timeout": "15000", + "exit": true +} diff --git a/package.json b/package.json index f48c34d..7e2b19d 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "juggler-v3": "file:./deps/juggler-v3", "juggler-v4": "file:./deps/juggler-v4", "loopback-datasource-juggler": "^3.0.0 || ^4.0.0", - "mocha": "^6.2.2", + "mocha": "^8.1.2", "rc": "^1.0.0", "should": "^13.2.3", "sinon": "^9.0.3" diff --git a/test/mocha.opts b/test/mocha.opts deleted file mode 100644 index 06d47df..0000000 --- a/test/mocha.opts +++ /dev/null @@ -1,3 +0,0 @@ ---globals getSchema ---timeout 15000 ---exit