Skip to content

Commit 5fb5b41

Browse files
authored
fix(component-testing): Increased timeout to allow useEffect to trigger (#16091)
1 parent 738193f commit 5fb5b41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

npm/react/cypress/component/advanced/timers/card-spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ it('should select null after timing out', () => {
88
const onSelect = cy.stub().as('selected')
99

1010
mount(<Card onSelect={onSelect} />)
11-
cy.get('@selected', { timeout: 5100 }).should('have.been.calledWith', null)
11+
cy.get('@selected', { timeout: 5500 }).should('have.been.calledWith', null)
1212
})
1313

1414
it('should accept selections', () => {

0 commit comments

Comments
 (0)