Files
zerobyte/packages/core/test/setup.ts
Nico 4305057185 test: move test runner from Bun to Vitest (#727)
* chore: migrate to vitest

* test: speed up some suites by sharing sessions and mocking expensive non-tested actions

* test: refactor some tests to verify behavior instead of implementation details

* chore: fix linting issues
2026-04-01 20:05:54 +02:00

11 lines
175 B
TypeScript

import { vi } from "vitest";
vi.mock(import("../src/utils/logger.ts"), () => ({
logger: {
debug: () => {},
info: () => {},
warn: () => {},
error: () => {},
},
}));