Frontend Testing: Jest & Vitest

Frontend · Cohort · 3 weeks

AUD 620 (informational)

Visual for Frontend Testing: Jest & Vitest

Responsible mentor

Avatar for Imogen Walsh

Imogen Walsh

Lead instructor; tests are documentation that runs.

Outcomes

  • Stabilise one previously flaky suite with notes
  • Write a testing policy paragraph your team could paste
  • Mock an API error path with assertions on UI copy

Description

You adopt testing-library habits, stub fetch responsibly, and track flake rates over two sprints. Coverage is discussed as a guardrail, not a trophy.

Inside the track

  • RTL queries with accessibility bias
  • MSW-style mocking workshop
  • Snapshot discipline guidelines
  • Visual regression intro (tool-agnostic)
  • Parallel test tuning
  • CI matrix on a sample repo

Reviews

MSW week in Frontend Testing made API errors in my capstone UI feel … boring, which is good.

— Taylor , Bootcamp grad (internal feedback)

FAQ

One module overview; focus stays unit/integration.