mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
14 lines
231 B
TypeScript
14 lines
231 B
TypeScript
import { test } from 'vitest';
|
|
|
|
test('fail', () => {
|
|
throw new Error('fail')
|
|
})
|
|
|
|
test('retried fail', { retry: 2 }, () => {
|
|
throw new Error('fail')
|
|
})
|
|
|
|
test('repeated fail', { repeats: 2 }, () => {
|
|
throw new Error('fail')
|
|
})
|