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.
13 lines
357 B
TypeScript
13 lines
357 B
TypeScript
|
8 months ago
|
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
|
||
|
|
|
||
|
|
export function createPluginsVitestConfig(env?: Record<string, string | undefined>) {
|
||
|
|
return createScopedVitestConfig(["src/plugins/**/*.test.ts"], {
|
||
|
|
dir: "src/plugins",
|
||
|
|
env,
|
||
|
|
name: "plugins",
|
||
|
|
passWithNoTests: true,
|
||
|
|
});
|
||
|
|
}
|
||
|
|
|
||
|
|
export default createPluginsVitestConfig();
|