histoire
Version:
A fast story book powered by Vite
17 lines • 921 B
TypeScript
import type { TestModule } from 'vitest/node';
import { reportStuckVitestRun } from '../util/vitest-stuck-run.js';
/**
* Vitest resolves `include` entries as glob patterns, so glob-special
* characters in project paths (SvelteKit `(group)`, Nuxt `[id]`…) can make
* the generated spec paths match nothing — combined with `passWithNoTests`
* the run would "pass" while executing zero specs. Surface the gap loudly.
* @param testModules The test modules Vitest executed.
* @param include The spec paths the run was told to execute.
*/
export declare function warnAboutMissingTestModules(testModules: TestModule[], include: string[]): void;
/**
* Prints what Vitest knows about a test run that never finished.
* @param vitest The Vitest instance of the stuck run.
*/
export declare function reportStuckTestRun(vitest: Parameters<typeof reportStuckVitestRun>[0]): void;
//# sourceMappingURL=diagnostics.d.ts.map