Fix time-dependent test failure in release_block_spec.js
This test was using timeago.js to show amount of time elapsed since the release date. Since timeago.js uses Date() to determine the current timestamp, we can just mock that value to ensure consistent results. Closes https://gitlab.com/gitlab-org/gitlab/issues/35019
Showing
Please register or sign in to comment