Skip to main content
With Vitest, the driver becomes a fixture: tests ask for todos instead of app.

A fixture

test from @quiesco/vitest is a Vitest test with the app fixture. Extend it with the driver:
todos uses app, so a test that asks for todos gets the reset before it, like one that asks for app.

Tests

Import test and expect from the fixtures file instead of @quiesco/vitest:
The test has no test ids and no taps. A test that needs something the driver does not cover can still ask for app next to todos. More on Vitest in Vitest.