test(sync): allow repeated relay e2e startup

This commit is contained in:
Timo
2026-08-25 21:43:12 +02:00
parent 8572d3694e
commit 213a639314
2 changed files with 6 additions and 2 deletions
+4 -1
View File
@@ -422,7 +422,10 @@ test('recovers relay ROOM_DATA through background retries into the packed player
const attempts = Number(video.dataset.koalaCanonicalPlayAttempts || '0') + 1;
video.dataset.koalaCanonicalPlayAttempts = String(attempts);
if (attempts === 1) {
return Promise.reject(new DOMException('audit autoplay rejection', 'NotAllowedError'));
return Promise.reject(Object.assign(
new Error('audit autoplay rejection'),
{ name: 'NotAllowedError' }
));
}
return nativePlay();
}