mirror of
https://github.com/hanzoai/vitest.git
synced 2026-10-30 14:46:34 +00:00
12 lines
279 B
TypeScript
12 lines
279 B
TypeScript
import { describe, expect, test } from "vitest";
|
|
|
|
describe('passed', () => {
|
|
test.each([4, 5, 6])('0-based index of the test case is %#', (d) => {
|
|
expect(d).toBe(d)
|
|
})
|
|
|
|
test.each([4, 5, 6])('1-based index of the test case is %$', (d) => {
|
|
expect(d).toBe(d)
|
|
})
|
|
})
|