diff --git a/src/main/window/native-chat-paste-files.test.ts b/src/main/window/native-chat-paste-files.test.ts index e8d9a626fcc..8f645c3fd89 100644 --- a/src/main/window/native-chat-paste-files.test.ts +++ b/src/main/window/native-chat-paste-files.test.ts @@ -196,6 +196,7 @@ describe('native-chat paste folder on disk', () => { { path: restored, kept: true, exists: true } ]) expect(isPathAllowed(secret, NO_ROOTS_STORE)).toBe(false) + expect(isPathAllowed(realpathSync(secret), NO_ROOTS_STORE)).toBe(false) }) it('neither restores from nor sweeps a paste folder that is itself a link', async () => {