Skip to content

Commit

Permalink
fix: clean unused eslint disables (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 authored May 6, 2024
1 parent 3181d68 commit 3f38aa1
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion cypress/e2e/2-advanced-examples/connectors.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ context('Connectors', () => {
// https://on.cypress.io/each
cy.get('.connectors-each-ul>li')
.each(($el, index, $list) => {
// eslint-disable-next-line no-console
console.log($el, index, $list)
})
})
Expand Down
1 change: 0 additions & 1 deletion cypress/e2e/2-advanced-examples/cypress_api.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ context('Cypress APIs', () => {
method = method || 'log'

// log the subject to the console
// eslint-disable-next-line no-console
console[method]('The subject is', subject)

// whatever we return becomes the new subject
Expand Down
3 changes: 0 additions & 3 deletions cypress/e2e/2-advanced-examples/navigation.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ context('Navigation', () => {
// https://on.cypress.io/visit

// Visit any sub-domain of your current domain

/* eslint-disable no-unused-vars */
// Pass options to the visit
cy.visit('http://localhost:8080/commands/navigation', {
timeout: 50000, // increase total time for the visit to resolve
Expand All @@ -53,6 +51,5 @@ context('Navigation', () => {
expect(typeof contentWindow === 'object').to.be.true
},
})
/* eslint-enable no-unused-vars */
})
})
2 changes: 0 additions & 2 deletions cypress/e2e/2-advanced-examples/spies_stubs_clocks.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ context('Spies, Stubs, and Clock', () => {
* @param x {any}
*/
foo (x) {
/* eslint-disable-next-line no-console */
console.log('obj.foo called with', x)
},
}
Expand Down Expand Up @@ -54,7 +53,6 @@ context('Spies, Stubs, and Clock', () => {
* @param b {string}
*/
foo (a, b) {
// eslint-disable-next-line no-console
console.log('a', a, 'b', b)
},
}
Expand Down

0 comments on commit 3f38aa1

Please sign in to comment.