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

Reset MockDates after tests #77

Merged
merged 1 commit into from
Mar 8, 2023
Merged

Reset MockDates after tests #77

merged 1 commit into from
Mar 8, 2023

Conversation

jeffdaley
Copy link
Contributor

Adds cleanup code after each use of MockDate.

This isn't affecting us yet because we use the same date in our tests, but this may not always be true. So I'm getting ahead of it.

@jeffdaley jeffdaley requested a review from a team as a code owner March 7, 2023 23:04
Comment on lines -5 to -6
import MockDate from "mockdate";
import { equal } from "@ember/object/computed";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unused. Found when searching "MockDate"

@jeffdaley jeffdaley mentioned this pull request Mar 8, 2023
@jeffdaley jeffdaley merged commit 22a61b7 into main Mar 8, 2023
@jeffdaley jeffdaley deleted the jeffdaley/reset-mockdates branch March 8, 2023 23:46
anuragprafulla pushed a commit to razorpay/hermes that referenced this pull request Jun 27, 2023
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.

None yet

2 participants