mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-27 02:14:36 -05:00
chore(tests): typo for callback (#17613)
This commit is contained in:
@@ -735,7 +735,7 @@ describe('src/cy/commands/waiting', () => {
|
||||
cy.wait('@foo', '@bar')
|
||||
})
|
||||
|
||||
it('throws when passed caallback function', (done) => {
|
||||
it('throws when passed callback function', (done) => {
|
||||
cy.on('fail', (err) => {
|
||||
expect(err.message).to.eq('`cy.wait()` was passed invalid arguments. You cannot pass a function. If you would like to wait on the result of a `cy.wait()`, use `cy.then()`.')
|
||||
expect(err.docsUrl).to.eq('https://on.cypress.io/wait')
|
||||
|
||||
Reference in New Issue
Block a user