Skip to content

Commit 275b49e

Browse files
committed
Merge branch 'master' into tests2
2 parents d8b8a4e + 570789e commit 275b49e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/GoTrueClient.browser.test.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,18 @@ import {
1111
userNotAvailableProxy,
1212
resolveFetch,
1313
} from '../src/lib/helpers'
14+
import {
15+
supportsLocalStorage,
16+
validateExp,
17+
sleep,
18+
userNotAvailableProxy,
19+
resolveFetch,
20+
} from '../src/lib/helpers'
1421

1522
// Add structuredClone polyfill for jsdom
1623
if (typeof structuredClone === 'undefined') {
1724
; (global as any).structuredClone = (obj: any) => JSON.parse(JSON.stringify(obj))
25+
; (global as any).structuredClone = (obj: any) => JSON.parse(JSON.stringify(obj))
1826
}
1927

2028
describe('GoTrueClient in browser environment', () => {

0 commit comments

Comments
 (0)