From d0d7a3d01f591f9265512ac8851092bb53e70978 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Wed, 28 Oct 2020 05:03:05 -0230 Subject: [PATCH] Remove redundant `mocha` command (#9738) The command `mocha` was included twice in `test:unit:global` accidentally. The second occurrence was interpreted as a filename, and would result in the following warning: `Warning: Cannot find any files matching pattern "mocha"` The second instance has been removed, and the warning no longer appears. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 298283d58..457ba244a 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "dapp-forwarder": "concurrently -k -n forwarder,dapp -p '[{time}][{name}]' 'yarn forwarder' 'yarn dapp'", "sendwithprivatedapp": "node development/static-server.js test/e2e/send-eth-with-private-key-test --port 8080", "test:unit": "mocha --exit --require test/env.js --require test/setup.js --recursive \"test/unit/**/*.js\" \"ui/app/**/*.test.js\"", - "test:unit:global": "mocha --exit --require test/env.js --require test/setup.js --recursive mocha test/unit-global/*", + "test:unit:global": "mocha --exit --require test/env.js --require test/setup.js --recursive test/unit-global/*", "test:unit:lax": "mocha --exit --require test/env.js --require test/setup.js --recursive \"test/unit/{,**/!(permissions)}/*.js\" \"ui/app/**/*.test.js\"", "test:unit:strict": "mocha --exit --require test/env.js --require test/setup.js --recursive \"test/unit/**/permissions/*.js\"", "test:unit:path": "mocha --exit --require test/env.js --require test/setup.js --recursive",