Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
this-is-shivamsingh committed Jan 29, 2024
1 parent 0b839b8 commit b4b4e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ describe('percyScreenshot', () => {
const considerElement = { getId: () => {} };
const mockElement = spyOn(element, 'getId').and.callFake(() => { return new Promise((resolve, _) => resolve('123')); });
const mockConsiderElement = spyOn(considerElement, 'getId').and.callFake(() => { return new Promise((resolve, _) => resolve('456')); });
const mockedPostCall = spyOn(percySnapshot, 'request').and.callFake(() => mockresponse);
const mockedPostCall = spyOn(percySnapshot, 'request').and.callFake(() => {});
await percyScreenshot(driver, 'Snapshot 2', { ignoreRegionSeleniumElements: [element], considerRegionSeleniumElements: [considerElement] });

expect(mockElement).toHaveBeenCalled();
Expand Down

0 comments on commit b4b4e30

Please sign in to comment.