Skip to content

Commit

Permalink
Build system: set up hook for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dgirardi committed Dec 19, 2022
1 parent 37259fc commit 21728ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/test_deps.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {hook} from 'src/hook.js';

window.process = {
env: {
NODE_ENV: 'production'
Expand All @@ -9,3 +11,7 @@ require('test/helpers/prebidGlobal.js');
require('test/mocks/adloaderStub.js');
require('test/mocks/xhr.js');
require('test/mocks/analyticsStub.js');

before(() => {
hook.ready();
});

0 comments on commit 21728ae

Please sign in to comment.