Skip to content

Commit 419e3b5

Browse files
test: Add launch.json for e2e test file
Signed-off-by: Nikolas Komonen <[email protected]>
1 parent 3a3ef7f commit 419e3b5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.vscode/launch.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,24 @@
119119
},
120120
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
121121
"preLaunchTask": "${defaultBuildTask}"
122+
},
123+
{
124+
"name": "E2E Test (current file)",
125+
"type": "extensionHost",
126+
"request": "launch",
127+
"runtimeExecutable": "${execPath}",
128+
"args": [
129+
"${workspaceFolder}/dist/src/testFixtures/workspaceFolder",
130+
"--extensionDevelopmentPath=${workspaceFolder}",
131+
"--extensionTestsPath=${workspaceFolder}/dist/src/testE2E/index.js"
132+
],
133+
"env": {
134+
"TEST_FILE": "${relativeFile}",
135+
"DEVELOPMENT_PATH": "${workspaceFolder}",
136+
"AWS_TOOLKIT_AUTOMATION": "local"
137+
},
138+
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
139+
"preLaunchTask": "${defaultBuildTask}"
122140
}
123141
],
124142
"compounds": [

0 commit comments

Comments
 (0)