Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-07 12:09:13 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-07 12:09:13 +0300
commit419f9c0ac3ae842964cc191932cab795463b259c (patch)
tree3441a3fb215f89997d0acc482fe5ae047d2ee3d7 /spec/frontend/incidents
parentb6724a211e047c35f3ba4c294997fba14bf42445 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/incidents')
-rw-r--r--spec/frontend/incidents/components/incidents_list_spec.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/frontend/incidents/components/incidents_list_spec.js b/spec/frontend/incidents/components/incidents_list_spec.js
index 1b98d488854..c4dfaabe36d 100644
--- a/spec/frontend/incidents/components/incidents_list_spec.js
+++ b/spec/frontend/incidents/components/incidents_list_spec.js
@@ -87,7 +87,6 @@ describe('Incidents List', () => {
textQuery: '',
authorUsernamesQuery: '',
assigneeUsernamesQuery: '',
- issuesIncidentDetails: false,
},
stubs: {
GlButton: true,
@@ -194,22 +193,7 @@ describe('Incidents List', () => {
expect(findSeverity().length).toBe(mockIncidents.length);
});
- it('contains a link to the issue details page', () => {
- findTableRows()
- .at(0)
- .trigger('click');
- expect(visitUrl).toHaveBeenCalledWith(joinPaths(`/project/issues/`, mockIncidents[0].iid));
- });
-
it('contains a link to the incident details page', async () => {
- beforeEach(() =>
- mountComponent({
- data: { incidents: { list: mockIncidents }, incidentsCount: {} },
- loading: false,
- provide: { glFeatures: { issuesIncidentDetails: true } },
- }),
- );
-
findTableRows()
.at(0)
.trigger('click');