You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
448 B
TypeScript
14 lines
448 B
TypeScript
import { commandsLightTestFiles } from "./vitest.commands-light-paths.mjs";
|
|
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
|
|
|
|
export function createCommandsVitestConfig(env?: Record<string, string | undefined>) {
|
|
return createScopedVitestConfig(["src/commands/**/*.test.ts"], {
|
|
dir: "src/commands",
|
|
env,
|
|
exclude: commandsLightTestFiles,
|
|
name: "commands",
|
|
});
|
|
}
|
|
|
|
export default createCommandsVitestConfig();
|