Skip to content

Commit 4b6e89b

Browse files
committed
feat: wired test scripts
1 parent a8d119b commit 4b6e89b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@
2323
"main": "src/index.ts",
2424
"scripts": {
2525
"dev": "node -r ts-node/register src/index.ts",
26+
"dev:dashboard": "node -r ts-node/register src/dashboard-service/index.ts",
2627
"clean": "rimraf ./{dist,.nyc_output,.test-reports,.coverage}",
2728
"build": "tsc --project tsconfig.build.json",
2829
"prestart": "npm run build",
2930
"start": "cd dist && node src/index.js",
31+
"start:dashboard": "node dist/src/dashboard-service/index.js",
3032
"build:check": "npm run build -- --noEmit",
3133
"lint": "eslint --ext .ts ./src ./test",
3234
"lint:report": "eslint -o .lint-reports/eslint.json -f json --ext .ts ./src ./test",
@@ -37,6 +39,8 @@
3739
"db:seed": "knex seed:run",
3840
"pretest:unit": "mkdir -p .test-reports/unit",
3941
"test:unit": "mocha 'test/**/*.spec.ts'",
42+
"test:unit:dashboard": "mocha 'test/unit/dashboard-service/**/*.spec.ts'",
43+
"test:e2e:dashboard:ws": "node scripts/check_dashboard_ws_updates.js",
4044
"test:unit:watch": "npm run test:unit -- --min --watch --watch-files src/**/*,test/**/*",
4145
"cover:unit": "nyc --report-dir .coverage/unit npm run test:unit",
4246
"docker:build": "docker build -t nostream .",

0 commit comments

Comments
 (0)