Skip to content

Fix time-dependent test failure in release_block_spec.js

Stan Hu requested to merge sh-fix-jest-failure into master

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 #35019 (closed)

Edited by Stan Hu

Merge request reports