diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-06 18:08:14 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-06 18:08:14 +0300 |
commit | b72b14cb4d1567c555d9e5cb336111afd479ee9e (patch) | |
tree | 7cc3087bae34b9dd9ce2339658d299cb4dae0ed9 /spec/frontend/commit | |
parent | d5e68dfae835516bcc94d208cd7be461e75831ff (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/commit')
-rw-r--r-- | spec/frontend/commit/pipelines/pipelines_table_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/commit/pipelines/pipelines_table_spec.js b/spec/frontend/commit/pipelines/pipelines_table_spec.js index 4bf6727af3b..1defb3d586c 100644 --- a/spec/frontend/commit/pipelines/pipelines_table_spec.js +++ b/spec/frontend/commit/pipelines/pipelines_table_spec.js @@ -66,7 +66,7 @@ describe('Pipelines table in Commits and Merge requests', () => { describe('with pipelines', () => { beforeEach(async () => { - mock.onGet('endpoint.json').reply(200, [pipeline]); + mock.onGet('endpoint.json').reply(200, [pipeline], { 'x-total': 10 }); createComponent(); @@ -110,7 +110,7 @@ describe('Pipelines table in Commits and Merge requests', () => { document.body.appendChild(element); element.addEventListener('update-pipelines-count', (event) => { - expect(event.detail.pipelines).toEqual([pipeline]); + expect(event.detail.pipelineCount).toEqual(10); done(); }); |