Skip to content

Commit

Permalink
fix: Remove second arg from cy.wrap, this is not accepted (#496)
Browse files Browse the repository at this point in the history
Co-authored-by: Zach Panzarino <zachary@panzarino.com>
  • Loading branch information
jennifer-shehane and panzarino committed Jun 10, 2021
1 parent 124a529 commit 1572887
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cypress/integration/2-advanced-examples/files.spec.js
Expand Up @@ -43,8 +43,7 @@ context('Files', () => {
.to.deep.equal(requiredExample)

// or use "cy.wrap" and "should('deep.equal', ...)" assertion
// @ts-ignore
cy.wrap(this.example, 'fixture vs require')
cy.wrap(this.example)
.should('deep.equal', requiredExample)
})

Expand Down

0 comments on commit 1572887

Please sign in to comment.