Skip to content

repo: fix flaky RevisionsPopover mock

Administrator requested to merge aharvey/fix-popover-flake into main

Created by: LawnGnome

There's evidently some rounding in the date that's displayed here, and Chromatic is occasionally saying "2 days" instead of "1 day". This should reduce the chance of flakiness here by having the date always be exactly one day ago.

Example of the UI review issue in a PR that doesn't go anywhere near this code: https://www.chromatic.com/pullrequest?appId=5f0f381c0e50750022dc6bf7&number=24111&view=changes

Merge request reports

Loading