Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rishigupta1599 committed Dec 13, 2023
1 parent 3682d0e commit e5204f8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ describe('GenericProvider', () => {
let res = await genericProvider.screenshot('mock-name', {});
expect(getTagSpy).toHaveBeenCalledTimes(1);
expect(genericProvider.statusBarHeight).toEqual(0);
expect(getTilesSpy).toHaveBeenCalledOnceWith(0, 0, false);
expect(getTilesSpy).toHaveBeenCalledOnceWith(false);
expect(res).toEqual({
name: 'mock-name',
tag: desktopTag,
Expand Down Expand Up @@ -233,7 +233,7 @@ describe('GenericProvider', () => {
let res = await genericProvider.screenshot('mock-name', {});
expect(iOSGetTagSpy).toHaveBeenCalledTimes(1);
expect(genericProvider.statusBarHeight).toEqual(132);
expect(iOSGetTilesSpy).toHaveBeenCalledOnceWith(0, 0, false);
expect(iOSGetTilesSpy).toHaveBeenCalledOnceWith(false);
expect(res).toEqual({
name: 'mock-name',
tag: iosTag,
Expand Down

0 comments on commit e5204f8

Please sign in to comment.