mirror of
https://github.com/hanzoai/vitest.git
synced 2026-10-30 14:46:34 +00:00
10 lines
214 B
TypeScript
10 lines
214 B
TypeScript
import { test } from 'vitest';
|
|
|
|
test('repro', async () => {
|
|
console.log(1);
|
|
await new Promise((r) => setTimeout(r, 10));
|
|
console.error(2);
|
|
await new Promise((r) => setTimeout(r, 10));
|
|
console.log(3);
|
|
});
|