Step 1 - Add fake_date test helper
- Step 1 - Add fake_date test helper
- Step 2 - Setup
useFakeDate
by default in Jest Step 3 - Update default fake date to match rspec fixtures- Step 3 - Add helper for
useFixturesFakeDate
What does this MR do?
This MR adds a fake_date
test helper which can be used to ensure determinism in tests that implicitly use Date
.
References
- Related to #236004 (closed)
Edited by Paul Slaughter