Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/vitest-dev/vscode. VS Code extension for Vitest vitest.dev/vscode
testing vitest vscode
Something went wrong. Try again.
TypeScript
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253import { describe, expect, it } from 'vitest'
describe('fixture', () => { describe('__fixtures__/file.spec.ts 1', () => { it('snapshot', () => { expect('').toMatchSnapshot() }) it('snapshot_1', () => { expect('').toMatchSnapshot() }) })
describe('__fixtures__/file.spec.ts 2', () => { it('snapshot_1', () => { expect('').toMatchSnapshot() }) it('snapshot_2', () => { expect('').toMatchSnapshot() }) it('snapshot', () => { expect('\nsome content\n').toMatchSnapshot() }) })
// same name it describe('__fixtures__/file.spec.ts 2', () => { it('snapshot_1', () => { expect('').toMatchSnapshot() }) it('snapshot_2', () => { expect('').toMatchSnapshot() }) it('snapshot', () => { expect('').toMatchSnapshot() }) }) // same name expect it('snapshot_2', () => { expect('').toMatchSnapshot() })})
describe('fixture2', () => { it('__fixtures__/file.spec.ts 4', () => { expect('').toMatchSnapshot() expect('').toMatchSnapshot() })})
it('fixture2', () => { expect('').toMatchSnapshot()})