Skip to content

Commit

Permalink
fix: Fix "Debug UI Tests" by Replacing a glob Pattern, and Adding C…
Browse files Browse the repository at this point in the history
…onfiguration for Windows Machine (#28)

* fix: Fix glob pattern to `test` files

Signed-off-by: botamochi0x12 <[email protected]>

* fix: Add `windows`-specific workaround for `launch.json`

See: https://github.com/redhat-developer/vscode-extension-tester/wiki/Debugging-Tests

---------

Signed-off-by: botamochi0x12 <[email protected]>
  • Loading branch information
botamochi0x12 authored Oct 30, 2024
1 parent b0d8f8c commit e511832
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@
"type": "node",
"request": "launch",
"program": "${workspaceFolder}/node_modules/.bin/extest",
"windows": {
"program": "${workspaceFolder}/node_modules/vscode-extension-tester/out/cli.js",
},
"args": [
"setup-and-run",
"${workspaceFolder}/out/ui-test/*-test.js",
"${workspaceFolder}/out/ui-test/*.test.js",
"--code_settings",
"settings.json",
"--extensions_dir",
Expand Down

0 comments on commit e511832

Please sign in to comment.