Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
Something went wrong. Try again.
TypeScript
at release
1234567891011121314import { expect, test } from 'vitest'import "../domain/basic-extend"
test('file', () => { expect({ name: 'alice', age: '30' }).toMatchKvSnapshot()})
test('inline', () => { expect({ name: 'alice', age: '30' }).toMatchKvInlineSnapshot(` name=bob inine-broken `)})