chore(tests): typo for callback (#17613)

This commit is contained in:
Dhruv Jain
2021-08-06 06:14:55 +05:30
committed by GitHub
parent 46e5c4da50
commit 5104728afb
@@ -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')