MCPcopy
hub / github.com/vitest-dev/vitest / hooks-timeout.test.ts

File hooks-timeout.test.ts

test/browser/fixtures/timeout-hooks/hooks-timeout.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { page, server } from 'vitest/browser';
2import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it, onTestFailed, onTestFinished } from 'vitest';
3
4describe.runIf(server.provider === 'playwright')('timeouts are failing correctly', () => {

Callers

nothing calls this directly

Calls 7

beforeEachFunction · 0.85
afterEachFunction · 0.85
beforeAllFunction · 0.85
afterAllFunction · 0.85
toBeVisibleMethod · 0.80
elementMethod · 0.80
clickMethod · 0.65

Tested by

no test coverage detected