Commit d9983961 authored by Enrique Alcántara's avatar Enrique Alcántara

Merge branch 'jivanvl-add-template-seelctor-web-ide-metrics-dashboard' into 'master'

Add metrics dashboard template selector for the WebIDE

See merge request gitlab-org/gitlab!37625
parents e6d9271c 20ac7053
......@@ -18,6 +18,10 @@ export const templateTypes = () => [
name: __('Dockerfile'),
key: 'dockerfiles',
},
{
name: '.metrics-dashboard.yml',
key: 'metrics_dashboard_ymls',
},
];
export const showFileTemplatesBar = (_, getters, rootState) => name =>
......
......@@ -5,7 +5,7 @@ import * as getters from '~/ide/stores/modules/file_templates/getters';
describe('IDE file templates getters', () => {
describe('templateTypes', () => {
it('returns list of template types', () => {
expect(getters.templateTypes().length).toBe(4);
expect(getters.templateTypes().length).toBe(5);
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment