Skip to content

Commit 7acf4c4

Browse files
committed
chore: run prettify
1 parent 6e32210 commit 7acf4c4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/commands.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ declare global {
1616
* @memberof Cypress.Chainable
1717
* @example cy.get('.my-element').matchImage();
1818
*/
19-
matchImage<T extends Chainable<unknown>>(this: T, options?: Cypress.MatchImageOptions): T;
19+
matchImage<T extends Chainable<unknown>>(
20+
this: T,
21+
options?: Cypress.MatchImageOptions
22+
): T;
2023
}
2124
}
2225
}
@@ -26,10 +29,7 @@ const nameCacheCounter: Record<string, number> = {};
2629
Cypress.Commands.add(
2730
"matchImage",
2831
{ prevSubject: "optional" },
29-
(
30-
subject?: JQuery<HTMLElement>,
31-
options: Cypress.MatchImageOptions = {}
32-
) => {
32+
(subject?: JQuery<HTMLElement>, options: Cypress.MatchImageOptions = {}) => {
3333
let title = Cypress.currentTest.titlePath.join(" ");
3434
if (typeof nameCacheCounter[title] === "undefined")
3535
nameCacheCounter[title] = -1;

src/support.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import './commands';
1+
import "./commands";
22
import { FILE_SUFFIX, LINK_PREFIX, OVERLAY_CLASS, TASK } from "./constants";
33

44
function generateOverlayTemplate(

0 commit comments

Comments
 (0)