Skip to content

The agent that grows with you

test(desktop): canonicalize native download fixture home

jangoe57375251a6a
diff --git a/apps/desktop/electron/gateway-download-transport.test.ts b/apps/desktop/electron/gateway-download-transport.test.ts
index 009b0702afe..728cc966d9e 100644
--- a/apps/desktop/electron/gateway-download-transport.test.ts
+++ b/apps/desktop/electron/gateway-download-transport.test.ts
@@ -112,7 +112,7 @@ test('a body that stalls mid-stream is destroyed after the idle deadline, but th
}, 3_000)
test.skipIf(process.platform === 'win32')('download retries mint a new private grant for every wire attempt and preserve remote auth', async () => {
- const home = await fs.mkdtemp(path.join(os.tmpdir(), 'download-auth-'))
+ const home = await fs.realpath(await fs.mkdtemp(path.join(os.tmpdir(), 'download-auth-')))
const grants: string[] = []
const wire: http.IncomingHttpHeaders[] = []
const controls: any[] = []