Skip to content

Commit

Permalink
Merge pull request #61 from aircall/chore/improve-tests
Browse files Browse the repository at this point in the history
impr: prevent some test suites from sending some logs
  • Loading branch information
rmnbrd authored Dec 13, 2021
2 parents 31dda6f + 18e12e8 commit 602f0df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/javascripts/aircallPhone.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ describe('Aircall SDK Library', () => {
let ap;

beforeEach(() => {
ap = new AircallPhone();
ap = new AircallPhone({ debug: false });
ap.phoneWindow = {
origin: '*',
source: {
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 602f0df

Please sign in to comment.