Skip to content

Commit 7db3117

Browse files
added clear all mocks
1 parent 0cdb3b1 commit 7db3117

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/integrationTests/basic.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ describe('SDK bootstraps itself if init has already been completed', () => {
10191019
sdkWindow.__uid2 = new UID2();
10201020
});
10211021

1022-
test.skip('should bootstrap therefore public functions should return the correct values without calling init again', async () => {
1022+
test('should bootstrap therefore public functions should return the correct values without calling init again', async () => {
10231023
const identity = { ...makeIdentity(), refresh_from: Date.now() + 100 };
10241024

10251025
uid2.init({ identity });
@@ -1104,4 +1104,6 @@ describe('Token retrieval and related public functions working without init', ()
11041104
functions.removeIdentity();
11051105
});
11061106
});
1107+
1108+
jest.clearAllMocks();
11071109
});

0 commit comments

Comments
 (0)