Prevent false Stuffbox failure when the successful popup closes first

Hop-State: A_06FP8DE7KCCAG4HXZNBATBG
Hop-Proposal: R_06FP8DDKY394CXK69M1Q78R
Hop-Task: T_06FP8D3ECRPSTFC8CT8DZB0
Hop-Attempt: AT_06FP8D3ECRDMQ2HEYDAE7W0
This commit is contained in:
2026-07-14 22:17:53 -07:00
committed by Hop
parent e8a2dd2979
commit e50316bbad
3 changed files with 24 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ describe('renderStuffboxPopupResponse', () => {
expect(html).toContain("new BroadcastChannel('synapsis:stuffbox')");
expect(html).toContain("localStorage.setItem('synapsis:stuffbox:result'");
expect(html).toContain('window.close()');
expect(html).toContain('window.setTimeout(() => window.close(), 250)');
expect(html).not.toContain('window.location.replace');
});
});