Archived
test: tolerate build graph contention
This commit is contained in:
@@ -9,7 +9,8 @@ import { describe, expect, it } from "vitest";
|
||||
const repoRoot = resolve(dirname(fileURLToPath(import.meta.url)), "..");
|
||||
|
||||
describe("production build contents", () => {
|
||||
it("keeps test-support modules out of the TypeScript build graph", () => {
|
||||
// Constructing the full compiler graph can exceed Vitest's default timeout under parallel-suite CPU contention.
|
||||
it("keeps test-support modules out of the TypeScript build graph", { timeout: 15_000 }, () => {
|
||||
const buildConfig = readBuildConfig();
|
||||
const program = ts.createProgram({ rootNames: buildConfig.fileNames, options: buildConfig.options });
|
||||
const projectSources = program.getSourceFiles()
|
||||
|
||||
Reference in New Issue
Block a user