15 lines
296 B
TypeScript
15 lines
296 B
TypeScript
import { defineWorkspace } from "vitest/config";
|
|||
import { defaultConfig } from "./vite.config";
|
|||
|
|||
export default defineWorkspace([
|
|||
{
|
|||
...defaultConfig,
|
|||
test: {
|
|||
name: "pre",
|
|||
include: ["src/test/pre.test.ts"],
|
|||
environment: "jsdom",
|
|||
},
|
|||
},
|
|||
"./vitest.config.ts",
|
|||
]);
|