Skip to content

Commit 53a07b8

Browse files
committed
add launch task to update fixtures for unit tests only
1 parent a88f79d commit 53a07b8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.vscode/launch.json

+17
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,23 @@
156156
"!**/node_modules/**"
157157
]
158158
},
159+
{
160+
"name": "Update fixtures, unit tests only",
161+
"type": "node",
162+
"request": "launch",
163+
"program": "${workspaceFolder}/packages/test-harness/out/scripts/runUnitTestsOnly",
164+
"env": {
165+
"CURSORLESS_TEST": "true",
166+
"CURSORLESS_TEST_UPDATE_FIXTURES": "true",
167+
"CURSORLESS_REPO_ROOT": "${workspaceFolder}"
168+
},
169+
"outFiles": ["${workspaceFolder}/**/out/**/*.js"],
170+
"preLaunchTask": "${defaultBuildTask}",
171+
"resolveSourceMapLocations": [
172+
"${workspaceFolder}/**",
173+
"!**/node_modules/**"
174+
]
175+
},
159176
{
160177
"name": "Docusaurus start",
161178
"type": "node",

0 commit comments

Comments
 (0)