Include missing dependencies for testing-unit-ts
MODIFY
.github/workflows/run-tests-command.yml
.github/workflows/run-tests-command.yml
@@ -527,9 +527,7 @@ jobs:
- uses: actions/checkout@v2
- run: |-
npm install
- npm install --global mocha
- npm install --global ts-node
- mocha -r ts-node/register ec2tests.ts
+ $(npm bin)/mocha -r ts-node/register ec2tests.ts
working-directory: ${{ matrix.source-dir }}
strategy:
fail-fast: false

MODIFY
testing-unit-ts/package.json
testing-unit-ts/package.json
{
"name": "test-unit-ts",
"devDependencies": {
- "ts-node": "^9.1.1"
+ "mocha": "^9.0.0",
+ "ts-node": "^9.1.1",
+ "typescript": "^4.0.0"
},
"dependencies": {
"@pulumi/aws": "^4.0.0",
- "@pulumi/awsx": "^0.30.0",
- "@pulumi/eks": "^0.30.0",
"@pulumi/pulumi": "^3.0.0",
- "@types/mocha": "^5.2.7",
- "@types/node": "^13.1.8",
- "mocha": "^7.2.0"
+ "@types/mocha": "^9.0.0",
+ "@types/node": "^13.1.8"
}
}

Include missing dependencies for testing-unit-ts (#1059)