From 6ed7cba23fb6f903c30f4f972f1a52906a58db0e Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Sat, 16 Dec 2023 22:05:20 +0100 Subject: [PATCH] Use npx mocha for starting tests. --- src/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/package.json b/src/package.json index 3109d0b24..f29a23c0b 100644 --- a/src/package.json +++ b/src/package.json @@ -101,8 +101,8 @@ "scripts": { "lint": "../node_modules/eslint/bin/eslint.js .", "test": "../node_modules/mocha/bin/_mocha --timeout 120000 --recursive tests/backend/specs ../node_modules/ep_*/static/tests/backend/specs", - "test-on-windows": "..\\node_modules\\.bin\\mocha --timeout 120000 --recursive tests/backend/specs ../node_modules/ep_*/static/tests/backend/specs", - "test-container": "../node_modules/mocha/bin/_mocha --timeout 5000 tests/container/specs/api", + "test-on-windows": "npx mocha --timeout 120000 --recursive tests/backend/specs ../node_modules/ep_*/static/tests/backend/specs", + "test-container": "npx mocha --timeout 5000 tests/container/specs/api", "dev": "bash ./bin/run.sh" }, "version": "1.9.5",