Skip to content

Fix date-dependent snapshot test with useFakeDate

Simon Knox requested to merge psi-geo-replicable-date into master

What does this MR do?

Use useFakeDate and pin date to earlier this year so snapshot test doesn't fail

Example failure

- Snapshot
+ Received
- "<time title="Sep 23, 1994 12:00am GMT+0000" datetime="09-23-1994" class="">25 years ago</time>"
+ "<time title="Sep 23, 1994 12:00am GMT+0000" datetime="09-23-1994" class="">26 years ago</time>"

Merge request reports

Loading