Skip to content

Commit 28ea21f

Browse files
committed
selective disable cypress/no-unnecessary-waiting
1 parent f1b8a6f commit 28ea21f

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
it('spec-A works', () => {
22
expect(42).to.equal(21 + 21)
3+
// eslint-disable-next-line cypress/no-unnecessary-waiting
34
cy.visit('https://example.cypress.io').wait(2000)
45
})
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
it('spec-B works', () => {
22
expect(42).to.equal(21 + 21)
3+
// eslint-disable-next-line cypress/no-unnecessary-waiting
34
cy.visit('https://example.cypress.io').wait(5000)
45
})
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
it('spec-C works', () => {
22
expect(42).to.equal(21 + 21)
3+
// eslint-disable-next-line cypress/no-unnecessary-waiting
34
cy.visit('https://example.cypress.io').wait(4000)
45
})
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
it('spec-D works', () => {
22
expect(42).to.equal(21 + 21)
3+
// eslint-disable-next-line cypress/no-unnecessary-waiting
34
cy.visit('https://example.cypress.io').wait(3600)
45
})

0 commit comments

Comments
 (0)