Fix test creating diagnostic locally

This commit is contained in:
Michael B. Gale
2026-10-12 14:47:29 +01:00
committed by GitHub
parent ca14bc86e6
commit 1599debc8f

View File

@@ -206,7 +206,10 @@ test("isSwiftCompatible doesn't throw for Swift on darwin", async (t) =>
await t.notThrowsAsync(
isSwiftCompatible(
initAllState({ platform: "darwin", env, logger }),
createTestConfig({ languages: [BuiltInLanguage.swift] }),
createTestConfig({
tempDir: tmpDir,
languages: [BuiltInLanguage.swift],
}),
codeql,
),
);