mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
7 lines
131 B
TypeScript
7 lines
131 B
TypeScript
import { test } from 'vitest'
|
|
|
|
test('primitive error thrown', () => {
|
|
// eslint-disable-next-line no-throw-literal
|
|
throw 42
|
|
})
|