From c5f92fafd6b946777d0ca3742928ae4ed39d2346 Mon Sep 17 00:00:00 2001 From: Andreas Kohn Date: Wed, 17 Jun 2020 15:59:35 +0200 Subject: [PATCH] Require mocha before 8.x mocha 8.x removed support for mocha.opts, and had been announcing that through a deprecation warning before: ~~~~ (node:200058) DeprecationWarning: Configuration via mocha.opts is DEPRECATED and will be removed from a future version of Mocha. Use RC files or package.json instead. ~~~~ --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8879673..5b2043b 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "jackpot": ">=0.0.6" }, "devDependencies": { - "mocha": "*", + "mocha": "<8.0.0", "should": "*", "pre-commit": "*" },