Commit 5eeebd61 authored by Kushal Pandya's avatar Kushal Pandya

Update test assertion to reflect timeago change

parent 81e78534
...@@ -50,7 +50,7 @@ describe('DetailsSectionMixin', () => { ...@@ -50,7 +50,7 @@ describe('DetailsSectionMixin', () => {
const statusCheckTimestamp = new Date(Date.now() - STATUS_DELAY_THRESHOLD_MS).getTime(); const statusCheckTimestamp = new Date(Date.now() - STATUS_DELAY_THRESHOLD_MS).getTime();
vm = createComponent(Object.assign({}, mockNodeDetails, { statusCheckTimestamp })); vm = createComponent(Object.assign({}, mockNodeDetails, { statusCheckTimestamp }));
expect(vm.statusInfoStaleMessage).toBe('Data is out of date from about a minute ago'); expect(vm.statusInfoStaleMessage).toBe('Data is out of date from 1 minute ago');
}); });
}); });
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment