Skip to content

[TEST] Add Vitest coverage for the web console - #1243

Open
NaitikVerma6776 wants to merge 1 commit into
CCExtractor:masterfrom
NaitikVerma6776:test/web-console-coverage
Open

NaitikVerma6776 wants to merge 1 commit into
CCExtractor:masterfrom
NaitikVerma6776:test/web-console-coverage

Conversation

@NaitikVerma6776

Copy link
Copy Markdown
Contributor

Summary

  • Adds Vitest + Testing Library coverage for the GSoC web console (web/), which previously had no tests and no npm test in CI.
  • Covers session/auth (expired tokens, vague 401 copy, dead-token reload), run/sample mapping (Linux+Windows grouped per commit, PR runs kept out of test history), href allowlists, caption cue parsing, Login, failing-run DiffDrawer, and status badges.

Test plan

  • cd web && npm test (32 tests)
  • cd web && npm run lint && npx tsc -b
  • Confirm the Web console workflow runs npm test

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant