Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/src/config/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ var pluses = /\+/g,
return window.mParticle.Identity.getCurrentUser()?.getMPID() === testMPID;
},
hasIdentityCallInflightReturned = () => !mParticle.getInstance()?._Store?.identityCallInFlight,
hasConfigLoaded = () => !!mParticle.getInstance()?._Store?.configurationLoaded
hasConfigurationReturned = () => !!mParticle.getInstance()?._Store?.configurationLoaded;

var TestsCore = {
getLocalStorageProducts: getLocalStorageProducts,
Expand Down Expand Up @@ -664,7 +664,7 @@ var TestsCore = {
fetchMockSuccess: fetchMockSuccess,
hasIdentifyReturned: hasIdentifyReturned,
hasIdentityCallInflightReturned,
hasConfigLoaded,
hasConfigurationReturned,
};

export default TestsCore;
2 changes: 1 addition & 1 deletion test/src/tests-batchUploader_3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ describe('batch uploader', () => {
})
});

it('should call the identity callback after a session ends if user is returning to the page after a long period of time', async function() {
it('should call the identity callback after a session ends if user is returning to the page after a long period of time', async () => {
// Background of bug that this test fixes:
// User navigates away from page and returns after some time
// and the session should end. There is a UAC firing inside of
Expand Down
Loading
Loading