mirror of
https://github.com/cypress-io/cypress.git
synced 2026-03-09 10:09:52 -05:00
fix(component-testing): Increased timeout to allow useEffect to trigger (#16091)
This commit is contained in:
@@ -8,7 +8,7 @@ it('should select null after timing out', () => {
|
||||
const onSelect = cy.stub().as('selected')
|
||||
|
||||
mount(<Card onSelect={onSelect} />)
|
||||
cy.get('@selected', { timeout: 5100 }).should('have.been.calledWith', null)
|
||||
cy.get('@selected', { timeout: 5500 }).should('have.been.calledWith', null)
|
||||
})
|
||||
|
||||
it('should accept selections', () => {
|
||||
|
||||
Reference in New Issue
Block a user