Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Conversation

@GeoffCoxMSFT
Copy link
Member

Description

Went through all the tests and anywhere jest.useFakeTimers() was called, ensured that a corresponding jest.useRealTimers() was called when that module/test is complete.

Task Item

#minor

Screenshots

N/A

@GeoffCoxMSFT GeoffCoxMSFT self-assigned this Apr 5, 2021
@srinaath srinaath changed the title Ensuring real timers after tests fix: Ensuring real timers after tests Apr 5, 2021
@coveralls
Copy link

coveralls commented Apr 5, 2021

Coverage Status

Coverage remained the same at 51.311% when pulling 11b67f8 on gcox/choreFixFakeTimers into f2b91af on main.

@hatpick hatpick merged commit aeb68e6 into main Apr 5, 2021
@hatpick hatpick deleted the gcox/choreFixFakeTimers branch April 5, 2021 19:28
@cwhitten cwhitten mentioned this pull request May 20, 2021
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* Ensuring real timers after tests

* Updated to  include runOnlyPendingTimers(); calls

Co-authored-by: Srinaath Ravichandran <srinaath27@gmail.com>
Co-authored-by: Soroush <hatpick@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants