Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(timers): a stab at fake timers #31075

Merged
merged 1 commit into from
May 30, 2024

Conversation

pavelfeldman
Copy link
Member

No description provided.

@pavelfeldman pavelfeldman force-pushed the fake_timers branch 2 times, most recently from d9542bc to c82a12c Compare May 29, 2024 23:21

This comment has been minimized.

This comment has been minimized.

docs/src/api/class-clock.md Show resolved Hide resolved
docs/src/api/class-clock.md Outdated Show resolved Hide resolved
docs/src/api/class-clock.md Outdated Show resolved Hide resolved
docs/src/api/class-clock.md Outdated Show resolved Hide resolved
docs/src/api/class-clock.md Outdated Show resolved Hide resolved
Relevant only when using with shouldAdvanceTime: true. Increment mocked time by advanceTimeDelta ms every advanceTimeDelta ms change
in the real system time (default: 20).

## async method: Clock.jump
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing return type

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jump does not return.

docs/src/api/class-clock.md Outdated Show resolved Hide resolved
packages/playwright-core/src/server/clock.ts Outdated Show resolved Hide resolved
packages/playwright-core/src/server/clock.ts Outdated Show resolved Hide resolved
Copy link
Contributor

Test results for "tests 1"

2 failed
❌ [playwright-test] › playwright.ct-react.spec.ts:253:5 › should pass "key" attribute from JSX in variable
❌ [playwright-test] › runner.spec.ts:118:5 › should ignore subprocess creation error because of SIGINT

1 flaky ⚠️ [chromium-library] › library/trace-viewer.spec.ts:240:1 › should have network requests

27387 passed, 608 skipped
✔️✔️✔️

Merge workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants