Files
OpenPipe-llm/app/vitest.config.ts
Kyle Corbitt 5ed7adadf9 Better scenario variable editing
Some users have gotten confused by the scenario variable editing interface. This change makes the interface easier to understand.
2023-08-10 12:08:17 -07:00

16 lines
452 B
TypeScript

import tsconfigPaths from "vite-tsconfig-paths";
import { configDefaults, defineConfig, type UserConfig } from "vitest/config";
const config = defineConfig({
test: {
...configDefaults, // Extending Vitest's default options
setupFiles: ["./src/tests/helpers/setup.ts"],
// Unfortunately using threads seems to cause issues with isolated-vm
threads: false,
},
plugins: [tsconfigPaths()],
}) as UserConfig;
export default config;