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
Why:client/src/webview/views/** is where most recent UI changes land. These functions take diagnostics or context data and return HTML, with no vscode import, so they can be tested in milliseconds without starting VS Code.
What:
Add Vitest (src/**/*.spec.ts, excluded from the extension build).
Build HTML from sample data, parse it (jsdom), and check the elements rather than comparing whole HTML strings.
First cases: the diagnostics heading and file/workspace counts, errors vs warnings, the hidden-errors indicator, the passed-verification state, and the context view sections.
Activity
Add webview rendering tests (#140)