fix(component-testing): Increased timeout to allow useEffect to trigger (#16091)

This commit is contained in:
Adam Gastineau
2021-04-20 07:45:30 -07:00
committed by GitHub
parent 738193f450
commit 5fb5b41f30

View File

@@ -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', () => {