~/talk

Looking Forward to Vitest Browser Mode

TalkinJapaneseat Vue Fes Japan 2024 · on Saturday, 2024-10-19· [testing, vue]
name:odan
links:none on file
slides:none on file

The talk argues that running frontend tests in a real browser avoids mismatches introduced by emulators like happy-dom; concrete bugs were found around window.getComputedStyle and CSS variables when using Vitest + happy-dom, leading to filed issues and PRs. It describes Vitest Browser Mode, which swaps the Node test runner for a browser runner that downloads and executes test files in the browser so real Web APIs and testing-library–style queries yield more reliable component tests; the feature is experimental but promising.

AI-written summary · about

~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.