mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 06:18:07 +00:00
12 lines
213 B
TypeScript
12 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();
|
|
});
|