From 18e12e8f6213e8bee990f5bc5652174d50270dc9 Mon Sep 17 00:00:00 2001 From: Romain Billard Date: Mon, 13 Dec 2021 13:35:33 +0100 Subject: [PATCH] chore: prevent some test suites from sending some logs --- spec/javascripts/aircallPhone.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/javascripts/aircallPhone.spec.js b/spec/javascripts/aircallPhone.spec.js index 38c84f3..fcd0bec 100644 --- a/spec/javascripts/aircallPhone.spec.js +++ b/spec/javascripts/aircallPhone.spec.js @@ -476,7 +476,7 @@ describe('Aircall SDK Library', () => { let ap; beforeEach(() => { - ap = new AircallPhone(); + ap = new AircallPhone({ debug: false }); ap.phoneWindow = { origin: '*', source: { @@ -613,7 +613,7 @@ describe('Aircall SDK Library', () => { describe('isLoggedIn function', () => { let ap; - beforeEach(() => (ap = new AircallPhone())); + beforeEach(() => (ap = new AircallPhone({ debug: false }))); it('should exists', () => { expect(ap.isLoggedIn).toBeDefined();