Skip to content

Commit

Permalink
Fix VS Code launch.json to look for mocha/karma in right location. (#…
Browse files Browse the repository at this point in the history
…2435)

Due to aeeaa14 we need to look for mocha / karma in the root node_modules folder instead of relative to packages/firestore.
  • Loading branch information
Michael Lehenbauer authored Dec 12, 2019
1 parent 627bce6 commit 4905036
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"type": "node",
"request": "launch",
"name": "Firestore Integration Tests (Node)",
"program": "${workspaceRoot}/packages/firestore/node_modules/.bin/_mocha",
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
"cwd": "${workspaceRoot}/packages/firestore",
"args": [
"--require", "ts-node/register/type-check",
Expand All @@ -90,7 +90,7 @@
"type": "node",
"request": "launch",
"name": "Firestore Integration Tests (Node / Persistence)",
"program": "${workspaceRoot}/packages/firestore/node_modules/.bin/_mocha",
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
"cwd": "${workspaceRoot}/packages/firestore",
"args": [
"--require", "ts-node/register/type-check",
Expand All @@ -114,7 +114,7 @@
"type": "node",
"request": "launch",
"name": "Firestore Unit Tests (Browser)",
"program": "${workspaceRoot}/packages/firestore/node_modules/.bin/karma",
"program": "${workspaceRoot}/node_modules/.bin/karma",
"cwd": "${workspaceRoot}/packages/firestore",
"args": [
"start",
Expand All @@ -127,7 +127,7 @@
"type": "node",
"request": "launch",
"name": "Firestore Integration Tests (Browser)",
"program": "${workspaceRoot}/packages/firestore/node_modules/.bin/karma",
"program": "${workspaceRoot}/node_modules/.bin/karma",
"cwd": "${workspaceRoot}/packages/firestore",
"args": [
"start",
Expand Down

0 comments on commit 4905036

Please sign in to comment.