mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 12:30:44 +00:00
fix(test): prevent Vitest shard stalls
This commit is contained in:
@@ -14,6 +14,8 @@ export type VitestRunSpec = {
|
||||
watchMode: boolean;
|
||||
};
|
||||
|
||||
export const DEFAULT_TEST_PROJECTS_VITEST_NO_OUTPUT_TIMEOUT_MS: string;
|
||||
|
||||
export function parseTestProjectsArgs(
|
||||
args: string[],
|
||||
cwd?: string,
|
||||
@@ -51,6 +53,21 @@ export function createVitestRunSpecs(
|
||||
},
|
||||
): VitestRunSpec[];
|
||||
|
||||
export function applyDefaultVitestNoOutputTimeout(
|
||||
specs: VitestRunSpec[],
|
||||
params?: {
|
||||
env?: Record<string, string | undefined>;
|
||||
},
|
||||
): VitestRunSpec[];
|
||||
|
||||
export function applyDefaultMultiSpecVitestCachePaths(
|
||||
specs: VitestRunSpec[],
|
||||
params?: {
|
||||
cwd?: string;
|
||||
env?: Record<string, string | undefined>;
|
||||
},
|
||||
): VitestRunSpec[];
|
||||
|
||||
export function writeVitestIncludeFile(filePath: string, includePatterns: string[]): void;
|
||||
|
||||
export function buildVitestArgs(args: string[], cwd?: string): string[];
|
||||
|
||||
Reference in New Issue
Block a user