Skip to content

Commit

Permalink
test: make timeout longer for suspense
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Jun 9, 2021
1 parent cb4cc45 commit 2d754eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { LazyComponent } from './LazyComponent'
import { mount } from '@cypress/react'

describe('React.lazy component with <Suspense />', () => {
it('renders and retries till component is loaded', () => {
it('renders and retries till component is loaded', { defaultCommandTimeout: 10000 }, () => {
cy.viewport(1000, 1000)
mount(<LazyComponent />)
cy.contains('loading...')
Expand Down

0 comments on commit 2d754eb

Please sign in to comment.