Skip to content

Commit

Permalink
feat: fix a typo in the worker script
Browse files Browse the repository at this point in the history
Co-authored-by: Artem Zakharchenko <kettanaito@gmail.com>
  • Loading branch information
nimiri and kettanaito committed Aug 30, 2022
1 parent 631f629 commit 62f7c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mockServiceWorker.js
Expand Up @@ -200,7 +200,7 @@ async function getResponse(event, client, requestId) {

function passthrough() {
// Clone the request because it might've been already used
// (i.e. its body has been read and sent to the cilent).
// (i.e. its body has been read and sent to the client).
const headers = Object.fromEntries(clonedRequest.headers.entries())

// Remove MSW-specific request headers so the bypassed requests
Expand Down

0 comments on commit 62f7c4d

Please sign in to comment.