mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 06:18:07 +00:00
13 lines
213 B
TypeScript
13 lines
213 B
TypeScript
|
import { afterEach, beforeEach } from "vitest";
|
||
|
import { stdout, stderr } from "stdout-stderr";
|
||
|
|
||
|
beforeEach(() => {
|
||
|
stdout.start();
|
||
|
stderr.start();
|
||
|
});
|
||
|
|
||
|
afterEach(() => {
|
||
|
stdout.stop();
|
||
|
stderr.stop();
|
||
|
});
|