Commit f15c770
committed
Fix VS Code integration tests on macOS
VS Code 1.131 removed the legacy Contents/MacOS/Electron compatibility
executable on macOS. Upgrade @vscode/test-electron to 3.1.0 so the test harness
resolves the executable from the application bundle metadata instead of trying
to launch the removed path.
Override jest-runner-vscode's transitive @vscode/test-electron dependency as
well. Its declared 2.x range would otherwise cause npm to install a private
2.5.2 copy and leave the runner using the broken executable lookup despite the
direct dependency upgrade.
Increase the minimal-workspace activation polling and Jest timeouts because
extension activation under VS Code 1.131 can take longer on macOS than the
previous 30-second allowance. This preserves the activation assertion while
avoiding a deterministic timeout on slower macOS hosts.
These failures were observed only in local macOS runs. GitHub Actions runs the
VS Code integration suite on Linux and Windows, where the existing tests were
passing.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d7e3c611-18b2-4bf2-8f9a-09e7a8d1ef8e1 parent 8468455 commit f15c770
3 files changed
Lines changed: 12 additions & 9 deletions
File tree
- extensions/ql-vscode
- test/vscode-tests/minimal-workspace
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2149 | 2149 | | |
2150 | 2150 | | |
2151 | 2151 | | |
2152 | | - | |
| 2152 | + | |
2153 | 2153 | | |
2154 | 2154 | | |
2155 | 2155 | | |
| |||
2198 | 2198 | | |
2199 | 2199 | | |
2200 | 2200 | | |
2201 | | - | |
| 2201 | + | |
| 2202 | + | |
| 2203 | + | |
| 2204 | + | |
2202 | 2205 | | |
2203 | 2206 | | |
2204 | 2207 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments