Vitest Testing

A change touching Vitest — `vitest.config`, `defineConfig` from `vitest/config`, `vi.mock`, `vi.fn`, `vi.spyOn`, `vi.useFakeTimers`, `expect.poll`, `toMatchInlineSnapshot`, `test.extend`, `describe.concurrent`, `projects`, `pool`, `isolate`, `--coverage`, `browser.instances`, `toMatchScreenshot`, `*.test-d.ts`, `import.meta.vitest`, a `vitest run` invocation, or a config key Vitest 4 silently ignores. For what to assert and how a spec is shaped, use a unit-testing capability; for journeys and server lifecycle, an end-to-end one. The 4.x runner layer, lookup-first where the option surface moved from v3.

axross Updated 1 repo stars

File contents

axross/btnopen.com commit 184d94f4e7

Frequently asked questions

npx get-skill add axross/vitest-testing-3