Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Stub Electron environment's useRealTimers function #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

evanwalsh
Copy link

This adds a stub useRealTimers function to the Electron environment provided to Jest. Since fake timers aren't supported, there's nothing that has to happen here. By adding this stub, errors like testing-library/dom-testing-library#905 can be avoided.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Apr 5, 2021
@lucas-jones
Copy link

Bump

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants