131788: cluster-ui: use job lastCompleted time when formatting last refresh time r=xinhaoz a=xinhaoz
This commit adds the pkg `@testing-library/jest-dom` to
take advantage of the many test utils provided by jest-dom.
Epic: none
Release note: None
--------------------------
This fixes a small bug in the TableMetadataJobControl component
where we were reading the last updated time of the job to
determine whether the job completed. This lead to `Invalid Date`
being shown when the job never completed before.
Epic: [CRDB-37558](https://cockroachlabs.atlassian.net/browse/CRDB-37558)
Release note: None
Co-authored-by: Xin Hao Zhang <[email protected]>