diff --git a/website/public/mockServiceWorker.js b/website/public/mockServiceWorker.js index 279a3eee..671ec2cb 100644 --- a/website/public/mockServiceWorker.js +++ b/website/public/mockServiceWorker.js @@ -145,7 +145,7 @@ async function handleRequest(event, requestId) { // Ensure MSW is active and ready to handle the message, otherwise // this message will pend indefinitely. if (client && activeClientIds.has(client.id)) { - (async function () { + ;(async function () { const clonedResponse = response.clone() sendToClient(client, { type: 'RESPONSE',