Skip to content

Commit 3e03797

Browse files
committed
chore: false security warning
1 parent ff9d6a7 commit 3e03797

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

apps/docs/cypress/support/commands.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
declare namespace Cypress {
1515
// eslint-disable-next-line @typescript-eslint/no-unused-vars
1616
interface Chainable<Subject> {
17-
login(email: string, password: string): void;
17+
// login(email: string, password: string): void;
1818
}
1919
}
2020

2121
// -- This is a parent command --
22-
Cypress.Commands.add('login', (email, password) => {
23-
console.log('Custom command example: Login', email, password);
24-
});
22+
// Cypress.Commands.add('login', (email, password) => {
23+
// console.log('Custom command example: Login', email, password);
24+
// });
2525
//
2626
// -- This is a child command --
2727
// Cypress.Commands.add("drag", { prevSubject: 'element'}, (subject, options) => { ... })

apps/tester/cypress/support/commands.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
declare namespace Cypress {
1515
// eslint-disable-next-line @typescript-eslint/no-unused-vars
1616
interface Chainable<Subject> {
17-
login(email: string, password: string): void;
17+
// login(email: string, password: string): void;
1818
}
1919
}
2020

2121
// -- This is a parent command --
22-
Cypress.Commands.add('login', (email, password) => {
23-
console.log('Custom command example: Login', email, password);
24-
});
22+
// Cypress.Commands.add('login', (email, password) => {
23+
// console.log('Custom command example: Login', email, password);
24+
// });
2525
//
2626
// -- This is a child command --
2727
// Cypress.Commands.add("drag", { prevSubject: 'element'}, (subject, options) => { ... })

0 commit comments

Comments
 (0)