fix: notification courses failed test cases

This commit is contained in:
Awais Ansari
2023-08-16 17:42:32 +05:00
parent ab5c205a7f
commit cb06c8778a
2 changed files with 1 additions and 1 deletions

View File

@@ -64,6 +64,7 @@ describe('Notification Courses', () => {
}),
}));
auth.getAuthenticatedUser = jest.fn(() => ({ userId: 3 }));
window.lightningjs = null;
});
afterEach(() => jest.clearAllMocks());

View File

@@ -109,7 +109,6 @@ describe('Notification Preferences', () => {
}),
}));
auth.getAuthenticatedUser = jest.fn(() => ({ userId: 3 }));
window.lightningjs = null;
});
afterEach(() => jest.clearAllMocks());