Skip to content

Commit

Permalink
Updating test to verify an exception is not thrown.
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake McIntyre committed Mar 22, 2017
1 parent 81c157b commit b640665
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/Bling.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,10 @@ describe("Bling", () => {
it("handles empty adSlot on clear", () => {
const instance = new Bling();
instance._adSlot = {};
instance.clear();

expect(() => {
instance.clear();
}).to.not.throw("adSlot.getServices is not a function");
});

it("calls getServices on adSlot on clear", () => {
Expand Down

0 comments on commit b640665

Please sign in to comment.