Skip to content

Commit

Permalink
update test comments
Browse files Browse the repository at this point in the history
  • Loading branch information
eyas-ranjous committed Oct 17, 2019
1 parent bd056c9 commit 93bc3f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/spec/modules/userId_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ describe('User ID', function() {
});
});

// emit an auction end event to run the mock callback
// attach a handler for auction end event to run the second bid request
events.on(CONSTANTS.EVENTS.AUCTION_END, function handler(submodule) {
if (submodule === 'parrableIdSubmoduleMock') {
// make the second bid request, id should have been refreshed
Expand All @@ -1109,6 +1109,7 @@ describe('User ID', function() {
}
});

// emit an auction end event to run the submodule callback
events.emit(CONSTANTS.EVENTS.AUCTION_END, 'parrableIdSubmoduleMock');
});
});
Expand Down

0 comments on commit 93bc3f2

Please sign in to comment.