perf(test): speed temp-path AST scan

This commit is contained in:
Peter Steinberger
2026-02-22 17:04:15 +00:00
parent 572daed456
commit 91cb28ecef

View File

@@ -57,7 +57,7 @@ function hasDynamicTmpdirJoin(source: string, filePath = "fixture.ts"): boolean
filePath, filePath,
source, source,
ts.ScriptTarget.Latest, ts.ScriptTarget.Latest,
true, false,
filePath.endsWith(".tsx") ? ts.ScriptKind.TSX : ts.ScriptKind.TS, filePath.endsWith(".tsx") ? ts.ScriptKind.TSX : ts.ScriptKind.TS,
); );
let found = false; let found = false;