mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
17 lines
391 B
JavaScript
17 lines
391 B
JavaScript
import { expect, test } from 'vitest'
|
|
|
|
test('same title', () => {
|
|
expect('new').toMatchInlineSnapshot()
|
|
expect('new').toMatchInlineSnapshot()
|
|
})
|
|
|
|
test('same title', () => {
|
|
expect('a').toMatchInlineSnapshot(`"a"`)
|
|
expect('a').toMatchInlineSnapshot(`"a"`)
|
|
})
|
|
|
|
test('same title', () => {
|
|
expect('b').toMatchInlineSnapshot(`"wrong"`)
|
|
expect('b').toMatchInlineSnapshot(`"wrong"`)
|
|
})
|