Skip to content

Commit

Permalink
test: more
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Oct 30, 2024
1 parent 3dcf25d commit 8817ac5
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
File renamed without changes.
21 changes: 21 additions & 0 deletions test/core/test/repro2.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { expect, test } from 'vitest'

test('repro', () => {
expect(0).toBe(0)
})

test('inline same title', () => {
expect('foo').toMatchInlineSnapshot(`"foo"`)
})

test('inline same title', () => {
expect('bar').toMatchInlineSnapshot(`"bar"`)
})

test('file same title', () => {
expect('foo').toMatchSnapshot()
})

test('file same title', () => {
expect('bar').toMatchSnapshot()
})

0 comments on commit 8817ac5

Please sign in to comment.