Files
vitest/test/e2e/fixtures/fails/primitive-error.test.ts

7 lines
131 B
TypeScript

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