mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
9 lines
152 B
TypeScript
9 lines
152 B
TypeScript
import { expect, it } from 'vitest';
|
|
|
|
it('foo', () => {
|
|
expect(1).toBe(1)
|
|
new Promise((resolve, reject) => {
|
|
reject('promise error');
|
|
});
|
|
});
|