diff options
Diffstat (limited to 'spec/frontend/ci/catalog/components/list/ci_resources_list_item_spec.js')
-rw-r--r-- | spec/frontend/ci/catalog/components/list/ci_resources_list_item_spec.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/frontend/ci/catalog/components/list/ci_resources_list_item_spec.js b/spec/frontend/ci/catalog/components/list/ci_resources_list_item_spec.js index 7f446064366..3862195d8c7 100644 --- a/spec/frontend/ci/catalog/components/list/ci_resources_list_item_spec.js +++ b/spec/frontend/ci/catalog/components/list/ci_resources_list_item_spec.js @@ -48,7 +48,6 @@ describe('CiResourcesListItem', () => { const findUserLink = () => wrapper.findByTestId('user-link'); const findTimeAgoMessage = () => wrapper.findComponent(GlSprintf); const findFavorites = () => wrapper.findByTestId('stats-favorites'); - const findForks = () => wrapper.findByTestId('stats-forks'); beforeEach(() => { router = createRouter(); @@ -161,7 +160,6 @@ describe('CiResourcesListItem', () => { createComponent({ props: { resource: { - forksCount: 0, starCount: 0, }, }, @@ -172,11 +170,6 @@ describe('CiResourcesListItem', () => { expect(findFavorites().exists()).toBe(true); expect(findFavorites().text()).toBe('0'); }); - - it('render forks as 0', () => { - expect(findForks().exists()).toBe(true); - expect(findForks().text()).toBe('0'); - }); }); describe('where there are statistics', () => { @@ -188,11 +181,6 @@ describe('CiResourcesListItem', () => { expect(findFavorites().exists()).toBe(true); expect(findFavorites().text()).toBe(String(defaultProps.resource.starCount)); }); - - it('render forks', () => { - expect(findForks().exists()).toBe(true); - expect(findForks().text()).toBe(String(defaultProps.resource.forksCount)); - }); }); }); }); |