mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
28 lines
528 B
TypeScript
28 lines
528 B
TypeScript
import { describe, expect, test } from 'vitest'
|
|
|
|
test.each([1])('', () => {
|
|
expect('').toMatchInlineSnapshot()
|
|
})
|
|
|
|
describe.each([1])('', () => {
|
|
test('', () => {
|
|
expect('').toMatchInlineSnapshot()
|
|
})
|
|
|
|
test.each([1])('', () => {
|
|
expect('').toMatchInlineSnapshot()
|
|
})
|
|
|
|
test('', () => {
|
|
expect(() => {
|
|
throw new Error('1')
|
|
}).toThrowErrorMatchingInlineSnapshot()
|
|
})
|
|
|
|
test.each([1])('', () => {
|
|
expect(() => {
|
|
throw new Error('1')
|
|
}).toThrowErrorMatchingInlineSnapshot()
|
|
})
|
|
})
|