fix: run mocha within packages in monorepo

This commit is contained in:
KernelDeimos 2024-07-18 16:10:38 -04:00
parent 82fa2d0862
commit 58c199c153

View File

@ -26,7 +26,7 @@
"webpack-cli": "^5.1.1" "webpack-cli": "^5.1.1"
}, },
"scripts": { "scripts": {
"test": "mocha ./src/phoenix/test ./src/phoenix/packages/contextlink/test", "test": "cd src/phoenix && npx mocha && cd - && cd src/phoenix/packages/contextlink && npx mocha && cd -",
"start=gui": "nodemon --exec \"node dev-server.js\" ", "start=gui": "nodemon --exec \"node dev-server.js\" ",
"start": "node ./tools/run-selfhosted.js", "start": "node ./tools/run-selfhosted.js",
"build": "cd src/gui; node ./build.js", "build": "cd src/gui; node ./build.js",