(consoleLogs: Array<{ type: string, text: string }>)
| 64 | } |
| 65 | |
| 66 | export function expectNoErrorsOrWarnings (consoleLogs: Array<{ type: string, text: string }>) { |
| 67 | const consoleLogErrors = consoleLogs.filter(i => i.type === 'error') |
| 68 | const consoleLogWarnings = consoleLogs.filter(i => i.type === 'warning') |
| 69 | |
| 70 | expect(consoleLogErrors).toEqual([]) |
| 71 | expect(consoleLogWarnings).toEqual([]) |
| 72 | } |
| 73 | |
| 74 | const BASE_TIMEOUT = isCI ? 6_000 : 3_000 |
| 75 | export async function gotoPath (page: Page, path: string, retries = 0) { |
no outgoing calls
no test coverage detected
searching dependent graphs…