diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-27 21:10:02 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-27 21:10:02 +0300 |
commit | c3f28c9b07a4eb35fecd351e2d7b51212b6c2342 (patch) | |
tree | c7be0446307016ff7358a35b69eb3bb4f6a39d63 /spec/frontend/pipelines/test_reports | |
parent | a2f36202361dcef1f2c9242929f81a4090b9ce97 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/pipelines/test_reports')
-rw-r--r-- | spec/frontend/pipelines/test_reports/test_reports_spec.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/spec/frontend/pipelines/test_reports/test_reports_spec.js b/spec/frontend/pipelines/test_reports/test_reports_spec.js index 34bbe7cc0e1..e44d59ba888 100644 --- a/spec/frontend/pipelines/test_reports/test_reports_spec.js +++ b/spec/frontend/pipelines/test_reports/test_reports_spec.js @@ -31,7 +31,7 @@ describe('Test reports app', () => { removeSelectedSuiteIndex: jest.fn(), }; - const createComponent = ({ state = {}, hasTestReport = true } = {}) => { + const createComponent = ({ state = {} } = {}) => { store = new Vuex.Store({ state: { isLoading: false, @@ -47,9 +47,6 @@ describe('Test reports app', () => { shallowMount(TestReports, { store, localVue, - provide: { - hasTestReport, - }, }), ); }; @@ -64,12 +61,6 @@ describe('Test reports app', () => { expect(actionSpies.fetchSummary).toHaveBeenCalled(); }); - - it('should not call fetchSummary when pipeline does not have test report', () => { - createComponent({ state: {}, hasTestReport: false }); - - expect(actionSpies.fetchSummary).not.toHaveBeenCalled(); - }); }); describe('when loading', () => { |