Commit 44d3590e authored by Winnie Hellmann's avatar Winnie Hellmann

Wrap file template mutation names in template strings

parent c2c8189b
...@@ -9,7 +9,7 @@ describe('IDE file templates mutations', () => { ...@@ -9,7 +9,7 @@ describe('IDE file templates mutations', () => {
state = createState(); state = createState();
}); });
describe(types.REQUEST_TEMPLATE_TYPES, () => { describe(`${types.REQUEST_TEMPLATE_TYPES}`, () => {
it('sets isLoading', () => { it('sets isLoading', () => {
mutations[types.REQUEST_TEMPLATE_TYPES](state); mutations[types.REQUEST_TEMPLATE_TYPES](state);
...@@ -17,7 +17,7 @@ describe('IDE file templates mutations', () => { ...@@ -17,7 +17,7 @@ describe('IDE file templates mutations', () => {
}); });
}); });
describe(types.RECEIVE_TEMPLATE_TYPES_ERROR, () => { describe(`${types.RECEIVE_TEMPLATE_TYPES_ERROR}`, () => {
it('sets isLoading', () => { it('sets isLoading', () => {
state.isLoading = true; state.isLoading = true;
...@@ -27,7 +27,7 @@ describe('IDE file templates mutations', () => { ...@@ -27,7 +27,7 @@ describe('IDE file templates mutations', () => {
}); });
}); });
describe(types.RECEIVE_TEMPLATE_TYPES_SUCCESS, () => { describe(`${types.RECEIVE_TEMPLATE_TYPES_SUCCESS}`, () => {
it('sets isLoading to false', () => { it('sets isLoading to false', () => {
state.isLoading = true; state.isLoading = true;
...@@ -43,7 +43,7 @@ describe('IDE file templates mutations', () => { ...@@ -43,7 +43,7 @@ describe('IDE file templates mutations', () => {
}); });
}); });
describe(types.SET_SELECTED_TEMPLATE_TYPE, () => { describe(`${types.SET_SELECTED_TEMPLATE_TYPE}`, () => {
it('sets selectedTemplateType', () => { it('sets selectedTemplateType', () => {
mutations[types.SET_SELECTED_TEMPLATE_TYPE](state, 'type'); mutations[types.SET_SELECTED_TEMPLATE_TYPE](state, 'type');
...@@ -59,7 +59,7 @@ describe('IDE file templates mutations', () => { ...@@ -59,7 +59,7 @@ describe('IDE file templates mutations', () => {
}); });
}); });
describe(types.SET_UPDATE_SUCCESS, () => { describe(`${types.SET_UPDATE_SUCCESS}`, () => {
it('sets updateSuccess', () => { it('sets updateSuccess', () => {
mutations[types.SET_UPDATE_SUCCESS](state, true); mutations[types.SET_UPDATE_SUCCESS](state, true);
......
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