chore: remove space

This commit is contained in:
Michael Brevard 2024-09-13 15:04:38 +03:00 committed by GitHub
parent 1429c11394
commit 3ced1449e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2786,7 +2786,7 @@ describe('lazy import components', () => {
await page.waitForLoadState('networkidle')
expect(await page.locator('body').getByText('This shouldn\'t be visible at first with conditions!').all()).toHaveLength(2)
await page.evaluate(() => window.scrollTo(0, document.body.scrollHeight))
await page.waitForTimeout(300) // Wait for the intersection observer to fire the callback
await page.waitForTimeout(300) // Wait for the intersection observer to fire the callback
expect(await page.locator('body').getByText('This shouldn\'t be visible at first with viewport!').all()).toHaveLength(2)
expect(await page.locator('body').getByText('This should always be visible!').all()).toHaveLength(1)
await page.close()