@@ -239,36 +283,47 @@ describe('tags list row', () => {
});
describe('details rows',()=>{
beforeEach(()=>{
mountComponent();
describe('when the tag has a digest',()=>{
beforeEach(()=>{
mountComponent();
returnwrapper.vm.$nextTick();
});
it('has 3 details rows',()=>{
expect(findDetailsRows().length).toBe(3);
});
returnwrapper.vm.$nextTick();
});
describe.each`
name | finderFunction | text | icon | clipboard
${'published date detail'} | ${findPublishedDateDetail} | ${'Published to the bar image repository at 10:23 GMT+0000 on 2020-06-29'} | ${'clock'} | ${false}
${'published date detail'} | ${findPublishedDateDetail} | ${'Published to the bar image repository at 10:23 GMT+0000 on 2020-06-29'} | ${'clock'} | ${false}