Commit 20ac7053 authored by Jose Vargas's avatar Jose Vargas

Add metrics-dashboard template to WebIDE

parent e440df08
......@@ -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