vitest/test/cli/fixtures/fails/primitive-error.test.ts
2024-04-26 15:43:27 +02:00

7 lines
131 B
TypeScript

import { test } from 'vitest'
test('primitive error thrown', () => {
// eslint-disable-next-line no-throw-literal
throw 42
})