From 3141fd81dea6fa83f7cee6e5f0aa724e3dfea9c4 Mon Sep 17 00:00:00 2001 From: Dirk Baeumer Date: Tue, 27 Oct 2026 09:53:53 +0100 Subject: [PATCH] Fix mocha reference --- .vscode/launch.json | 2 +- sync-api-common/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index a3bac2ed..161614ed 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -287,7 +287,7 @@ "request": "launch", "type": "node", "name": "test:common", - "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", + "program": "${workspaceRoot}/node_modules/mocha/bin/mocha", "stopOnEntry": false, "args": ["--timeout", "999999"], "cwd": "${workspaceRoot}/sync-api-common", diff --git a/sync-api-common/package.json b/sync-api-common/package.json index 184dbb9a..8a9a9d77 100644 --- a/sync-api-common/package.json +++ b/sync-api-common/package.json @@ -35,7 +35,7 @@ "lint": "node ../node_modules/eslint/bin/eslint.js src", "esbuild": "node ./bin/esbuild.js", "test": "npm run test:node && npm run test:browser", - "test:node": "node ../node_modules/mocha/bin/_mocha", + "test:node": "node ../node_modules/mocha/bin/mocha", "test:browser": "npm run esbuild && node ../build/bin/runBrowserTests.js http://127.0.0.1:8080/sync-api-common/src/browser/test/", "test:runServer": "npm run esbuild && node ../build/bin/runServer.js", "all": "npm run clean && npm run compile && npm run lint && npm run test",