Skip to content

Commit

Permalink
chore: fix Jest polyfills
Browse files Browse the repository at this point in the history
  • Loading branch information
alessbell committed Oct 3, 2024
1 parent b4766fe commit 129e43a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .storybook/public/mockServiceWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* - Please do NOT serve this file on production.
*/

const PACKAGE_VERSION = '2.3.5'
const PACKAGE_VERSION = '2.4.9'
const INTEGRITY_CHECKSUM = '26357c79639bfa20d64c0efca2a87423'
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
const activeClientIds = new Set()
Expand Down
4 changes: 2 additions & 2 deletions jest.polyfills.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Object.defineProperties(globalThis, {
File: { value: File },
Headers: { value: Headers },
FormData: { value: FormData },
Request: { value: Request },
Response: { value: Response },
Request: { value: Request, configurable: true },
Response: { value: Response, configurable: true },
});

// Symbol.dispose is not defined
Expand Down

1 comment on commit 129e43a

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines Statements Branches Functions
Coverage: 95%
94.89% (130/137) 90% (36/40) 85.71% (30/35)
Tests Skipped Failures Errors Time
7 0 💤 0 ❌ 0 🔥 3.358s ⏱️
Coverage Report (95%)
File% Stmts% Branch% Funcs% LinesUncovered Line #s
All files94.899085.7195.52 
   handlers.ts94.3193.7585.7194.18150–163
   utilities.ts95.9187.585.7197.91120

Please sign in to comment.