mirror of
https://github.com/hanzoai/vitest.git
synced 2026-10-30 14:46:34 +00:00
13 lines
230 B
TypeScript
13 lines
230 B
TypeScript
import {expect, test } from 'vitest';
|
|
|
|
test('pass', ({ task }) => {
|
|
task.meta.custom = "Passing test added this"
|
|
});
|
|
|
|
|
|
test('fails', ({ task }) => {
|
|
task.meta.custom = "Failing test added this"
|
|
|
|
expect(true).toBe(false)
|
|
});
|