Commit 1c4ce4d
committed
test: exclude TypeScriptSupport LSP extension from test windows
The TypeScriptSupport extension auto-starts a real vtsls language server and
registers global providers (hover/QuickView, linting/CodeInspection, hints,
jump-to-def) for js/jsx/ts/tsx. In the test runner this polluted pre-existing
integration tests that assume nothing else is registered for those languages:
- QuickView: a removed JS hover provider still returned a popover (ours).
- ESLint: jsx files gained an active inspector, so inspection-disabled was false.
- PreferencesManager: real server spawn + doc-sync churn timed the spec out.
Strip it in test windows, matching the existing convention for the heavyweight
Git extension (excluded for the same reason in ExtensionLoader).1 parent e437c5b commit 1c4ce4d
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
173 | 179 | | |
174 | 180 | | |
175 | 181 | | |
| |||
0 commit comments