mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
11 lines
184 B
TypeScript
11 lines
184 B
TypeScript
import { expect, test } from 'vitest'
|
|
|
|
let number = 0
|
|
test('should passed', () => {
|
|
expect(number++).toBe(3)
|
|
})
|
|
|
|
test('retry but still failed', () => {
|
|
expect(number++).toBe(4)
|
|
})
|