Fix test creating diagnostic locally

This commit is contained in:
Michael B. Gale
2026-10-12 14:47:29 +01:00
parent df0bdf35e5
commit 0171ce39a4

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,
),
);