1
0
mirror of synced 2026-01-17 03:01:38 -05:00
Files
docs/tests/browser/browser.js
2023-06-01 12:29:46 +00:00

14 lines
334 B
JavaScript

import { jest } from '@jest/globals'
jest.useFakeTimers({ legacyFakeTimers: true })
/* global page */
describe('homepage', () => {
jest.setTimeout(60 * 1000)
test('should be titled "GitHub Docs"', async () => {
await page.goto('http://localhost:4000')
await expect(page.title()).resolves.toMatch('GitHub Docs')
})
})