Skip to content

Commit

Permalink
support storageAllowed restriction on unit tests for prebid 7
Browse files Browse the repository at this point in the history
  • Loading branch information
mikizi committed May 26, 2022
1 parent c67302e commit 0784363
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/spec/modules/taboolaBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ describe('Taboola Adapter', function () {
getCookie = sinon.stub(userData.storageManager, 'getCookie');
getDataFromLocalStorage = sinon.stub(userData.storageManager, 'getDataFromLocalStorage');
localStorageIsEnabled = sinon.stub(userData.storageManager, 'localStorageIsEnabled');

$$PREBID_GLOBAL$$.bidderSettings = {
taboola: {
storageAllowed: true
}
};
});

afterEach(() => {
Expand Down

0 comments on commit 0784363

Please sign in to comment.