diff --git a/modules/sonobiBidAdapter.js b/modules/sonobiBidAdapter.js index 11fa4d72dafb..4b7c5fc12215 100644 --- a/modules/sonobiBidAdapter.js +++ b/modules/sonobiBidAdapter.js @@ -153,9 +153,7 @@ export const spec = { }); }); } - } catch (e) { - logError(e) - } + } catch (e) {} return syncs; } }; diff --git a/test/spec/modules/sonobiBidAdapter_spec.js b/test/spec/modules/sonobiBidAdapter_spec.js index 9162354d95ba..8903f3375f0d 100644 --- a/test/spec/modules/sonobiBidAdapter_spec.js +++ b/test/spec/modules/sonobiBidAdapter_spec.js @@ -352,7 +352,8 @@ describe('SonobiBidAdapter', () => { it('should return an empty array', () => { expect(spec.getUserSyncs({ pixelEnabled: false }, bidResponse)).to.have.length(0); - }) + expect(spec.getUserSyncs({ pixelEnabled: true }, [])).to.have.length(0); + }); }) describe('_getPlatform', () => { it('should return mobile', () => {