diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-30 15:08:57 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-30 15:08:57 +0300 |
commit | 1e254d9f5a46a85c9bb6f24da8265a30fd388db4 (patch) | |
tree | 7f9d414ae2256d96ee3d3ced3305da9507561c0c /spec/frontend/monitoring/store | |
parent | e860bae967a4fa90213ff1980fac0bea8f894366 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/monitoring/store')
-rw-r--r-- | spec/frontend/monitoring/store/utils_spec.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/frontend/monitoring/store/utils_spec.js b/spec/frontend/monitoring/store/utils_spec.js index 77db9bad5b1..8ee37a529dd 100644 --- a/spec/frontend/monitoring/store/utils_spec.js +++ b/spec/frontend/monitoring/store/utils_spec.js @@ -877,6 +877,8 @@ describe('normalizeCustomDashboardPath', () => { ${['.gitlab/dashboards/links.yml', '.gitlab/dashboards']} | ${'.gitlab/dashboards/links.yml'} ${['.gitlab/dashboards/dir1/links.yml', '.gitlab/dashboards']} | ${'.gitlab/dashboards/dir1/links.yml'} ${['.gitlab/dashboards/dir1/dir2/links.yml', '.gitlab/dashboards']} | ${'.gitlab/dashboards/dir1/dir2/links.yml'} + ${['config/prometheus/pod_metrics.yml', '.gitlab/dashboards']} | ${'config/prometheus/pod_metrics.yml'} + ${['config/prometheus/pod_metrics.yml']} | ${'config/prometheus/pod_metrics.yml'} `(`normalizeCustomDashboardPath returns $expected for $input`, ({ input, expected }) => { expect(normalizeCustomDashboardPath(...input)).toEqual(expected); }); |