Skip to content

Commit

Permalink
added unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
RRSchweitzer committed Nov 13, 2020
1 parent 3018682 commit 377b57e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/spec/api_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,14 @@ describe('Publisher API', function () {
assert.isFunction($$PREBID_GLOBAL$$.getBidResponses);
});

it('should have function $$PREBID_GLOBAL$$.getBidResponses', function () {
it('should have function $$PREBID_GLOBAL$$.getNoBids', function () {
assert.isFunction($$PREBID_GLOBAL$$.getNoBids);
});

it('should have function $$PREBID_GLOBAL$$.getNoBidsForAdUnitCode', function () {
assert.isFunction($$PREBID_GLOBAL$$.getNoBidsForAdUnitCode);
});

it('should have function $$PREBID_GLOBAL$$.getBidResponsesForAdUnitCode', function () {
assert.isFunction($$PREBID_GLOBAL$$.getBidResponsesForAdUnitCode);
});
Expand Down

0 comments on commit 377b57e

Please sign in to comment.