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