Skip to content

Commit 956c979

Browse files
Andrew Farriesroboquat
authored andcommitted
Run ws-manager-api typescript tests
The component defines tests but the tests were never run since leeway was instructed not to to run tests for this component. Start running the tests and add the necessary dev dependencies to allow leeway to run them.
1 parent 0ce0542 commit 956c979

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

components/ws-manager-api/typescript/BUILD.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ packages:
88
- "src/*.ts"
99
- "src/*.js"
1010
- package.json
11+
- mocha.opts
1112
config:
1213
packaging: library
13-
dontTest: true
14+
dontTest: false
1415
commands:
1516
build: ["yarn", "build"]
1617
yarnLock: ${coreYarnLockBase}/../yarn.lock

components/ws-manager-api/typescript/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
"grpc-tools": "^1.11.2",
3030
"grpc_tools_node_protoc_ts": "^5.3.2",
3131
"typescript": "~4.4.2",
32-
"typescript-formatter": "^7.2.2"
32+
"typescript-formatter": "^7.2.2",
33+
"mocha": "^5.0.0",
34+
"mocha-typescript": "^1.1.11",
35+
"ts-node": "^9.0.0",
36+
"chai": "^4.3.4"
3337
}
3438
}

0 commit comments

Comments
 (0)