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

Fix tests depending on date #13668

Merged
merged 2 commits into from
May 13, 2024
Merged

Fix tests depending on date #13668

merged 2 commits into from
May 13, 2024

Conversation

adrinr
Copy link
Collaborator

@adrinr adrinr commented May 13, 2024

Description

Fixing some unit tests recently introduced. These depend on datetime and timekeeper, but we can't mock the time in the js runner as it runs as isolation. These changes are tweaking the snippet to use the same time as the mocked value

Launchcontrol

Fixing some broken unit tests

@adrinr adrinr requested a review from deanhannigan May 13, 2024 09:05
@adrinr adrinr requested a review from a team as a code owner May 13, 2024 09:05
@adrinr adrinr requested review from mike12345567 and removed request for a team May 13, 2024 09:05
@adrinr adrinr added the firestorm Data/Infra/Revenue Team label May 13, 2024
@mike12345567 mike12345567 merged commit aeb919d into master May 13, 2024
10 checks passed
@mike12345567 mike12345567 deleted the tests/fix-broken-unit-tests branch May 13, 2024 10:32
@github-actions github-actions bot locked and limited conversation to collaborators May 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
firestorm Data/Infra/Revenue Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants