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();