Skip to content

Commit a1f736a

Browse files
fixed test
1 parent b866140 commit a1f736a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/integrationTests/options.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ const getUid2Cookie = mocks.getUid2Cookie;
4141
const getUid2LocalStorage = mocks.getUid2LocalStorage;
4242
const removeUid2Cookie = mocks.removeUid2Cookie;
4343
const removeUid2LocalStorage = mocks.removeUid2LocalStorage;
44-
const getUid2 = mocks.getUid2;
4544

4645
const getConfigCookie = () => {
4746
const docCookie = document.cookie;
@@ -520,7 +519,8 @@ describe('Store config UID2', () => {
520519

521520
beforeEach(() => {
522521
localStorage.removeItem('UID2-sdk-identity_config');
523-
document.cookie = productDetails + '_config' + '=;expires=Tue, 1 Jan 1980 23:59:59 GMT;path=/';
522+
document.cookie =
523+
productDetails.cookieName + '_config' + '=;expires=Tue, 1 Jan 1980 23:59:59 GMT;path=/';
524524
});
525525

526526
describe('when useCookie is true', () => {

0 commit comments

Comments
 (0)