Skip to content

Commit 8cd9244

Browse files
committed
wip
1 parent 447d78c commit 8cd9244

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/signals/signals/src/plugin/__tests__/signals-plugin.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { SignalsPlugin } from '../signals-plugin'
22

3-
// this specific test was throwing a bunch of warnings, so I had to mock sessionStorage.
4-
// no idea why, as sessionStorage is a global object is available in the browser in the test environment, and works in other tests.
3+
// this specific test was throwing a bunch of warnings:
4+
// 'Cannot read properties of null (reading '_origin') at Window.get sessionStorage [as sessionStorage]'
5+
// no idea why, as sessionStorage works as usual in other tests.
56
const sessionStorageMock = (() => {
67
let store: Record<string, any> = {}
78
return {

0 commit comments

Comments
 (0)