Skip to content

Commit

Permalink
Try
Browse files Browse the repository at this point in the history
  • Loading branch information
3link committed May 3, 2024
1 parent dcc02ad commit dec60e7
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions test/spec/modules/liveIntentIdSystem_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,23 +100,6 @@ describe('LiveIntentId', function() {
}, 300);
});

it('should initialize LiveConnect with the config params when decode and emit an event', function (done) {
liveIntentIdSubmodule.decode({}, { params: {
...defaultConfigParams,
...{
url: 'https://dummy.liveintent.com',
liCollectConfig: {
appId: 'a-0001',
collectorUrl: 'https://collector.liveintent.com'
}
}
}});
setTimeout(() => {
expect(server.requests[0].url).to.match(/https:\/\/collector.liveintent.com\/j\?.*aid=a-0001.*&wpn=prebid.*/);
done();
}, 300);
});

it('should fire an event with the provided distributorId', function (done) {
liveIntentIdSubmodule.decode({}, { params: { fireEventDelay: 1, distributorId: 'did-1111' } });
setTimeout(() => {
Expand Down

0 comments on commit dec60e7

Please sign in to comment.