Skip to content

Commit 129e43a

Browse files
committed
chore: fix Jest polyfills
1 parent b4766fe commit 129e43a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.storybook/public/mockServiceWorker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* - Please do NOT serve this file on production.
99
*/
1010

11-
const PACKAGE_VERSION = '2.3.5'
11+
const PACKAGE_VERSION = '2.4.9'
1212
const INTEGRITY_CHECKSUM = '26357c79639bfa20d64c0efca2a87423'
1313
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
1414
const activeClientIds = new Set()

jest.polyfills.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Object.defineProperties(globalThis, {
2727
File: { value: File },
2828
Headers: { value: Headers },
2929
FormData: { value: FormData },
30-
Request: { value: Request },
31-
Response: { value: Response },
30+
Request: { value: Request, configurable: true },
31+
Response: { value: Response, configurable: true },
3232
});
3333

3434
// Symbol.dispose is not defined

0 commit comments

Comments
 (0)