Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky committed Nov 14, 2024
1 parent f517f67 commit 447d78c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { SignalsPlugin } from '../signals-plugin'

// this test was throwing an error, so I had to mock the sessionStorage --
// no idea why, as sessionStorage is a global object is available in the browser in the test environment
// this specific test was throwing a bunch of warnings, so I had to mock sessionStorage.
// no idea why, as sessionStorage is a global object is available in the browser in the test environment, and works in other tests.
const sessionStorageMock = (() => {
let store: Record<string, any> = {}
return {
Expand Down

0 comments on commit 447d78c

Please sign in to comment.