Some users have gotten confused by the scenario variable editing interface. This change makes the interface easier to understand.
16 lines
452 B
TypeScript
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;
|