mirror of
https://github.com/nicotsx/zerobyte.git
synced 2026-04-25 01:19:53 -04:00
* 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
15 lines
260 B
TypeScript
15 lines
260 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: "node",
|
|
server: {
|
|
deps: {
|
|
inline: ["zod"],
|
|
},
|
|
},
|
|
include: ["src/**/*.test.ts", "src/**/*.spec.ts"],
|
|
setupFiles: ["./test/setup.ts"],
|
|
},
|
|
});
|