You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7f496b4
Browse filesBrowse the repository at this point in the historyBrowse files
test(vscode): wait for expected diagnostics in fixAll E2E setups (#25)
Since @rslint/core 0.8.1 (web-infra-dev/rslint#1790), a file created after
its project was loaded is served by a type-info-less fallback Program until
a watcher event admits it into the configured project, so the first
non-empty publish may carry only non-type-aware rules on platforms with
slow file watchers (macOS). The fixAll suites create their targets through
withTmpFile and asserted on that first non-empty publish, which now fails.
Setup waits go through a new waitForDiagnosticsWithMessages helper that
waits until the expected diagnostics are present — the terminal assertion
is unchanged and holds on both 0.8.0 and 0.8.1. The lint fixture floor
moves to ^0.8.1 to match what CI resolves.
Copy file name to clipboardExpand all lines: packages/vscode/e2e/lint/fixtures/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
"private": true,
5
5
"description": "Shared install root for the Rslint E2E fixture workspaces. The extension ships no binary: every fixture resolves @rslint/core - including its native Go binary, config-loader and eslint-plugin host - from this one published-npm install. jiti backs the config-file-loader's TypeScript-config fallback.",
0 commit comments