Commit 79d3de46 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'dmishunov-fixing-eslint' into 'master'

Fixed ESlint check

See merge request gitlab-org/gitlab!32285
parents 0b00a5e1 61484c1a
......@@ -20,7 +20,7 @@ describe('Release detail mutations', () => {
release = convertObjectPropsToCamelCase(originalRelease);
});
describe(types.REQUEST_RELEASE, () => {
describe(`${types.REQUEST_RELEASE}`, () => {
it('set state.isFetchingRelease to true', () => {
mutations[types.REQUEST_RELEASE](state);
......@@ -28,7 +28,7 @@ describe('Release detail mutations', () => {
});
});
describe(types.RECEIVE_RELEASE_SUCCESS, () => {
describe(`${types.RECEIVE_RELEASE_SUCCESS}`, () => {
it('handles a successful response from the server', () => {
mutations[types.RECEIVE_RELEASE_SUCCESS](state, release);
......@@ -42,7 +42,7 @@ describe('Release detail mutations', () => {
});
});
describe(types.RECEIVE_RELEASE_ERROR, () => {
describe(`${types.RECEIVE_RELEASE_ERROR}`, () => {
it('handles an unsuccessful response from the server', () => {
const error = { message: 'An error occurred!' };
mutations[types.RECEIVE_RELEASE_ERROR](state, error);
......@@ -55,7 +55,7 @@ describe('Release detail mutations', () => {
});
});
describe(types.UPDATE_RELEASE_TITLE, () => {
describe(`${types.UPDATE_RELEASE_TITLE}`, () => {
it("updates the release's title", () => {
state.release = release;
const newTitle = 'The new release title';
......@@ -65,7 +65,7 @@ describe('Release detail mutations', () => {
});
});
describe(types.UPDATE_RELEASE_NOTES, () => {
describe(`${types.UPDATE_RELEASE_NOTES}`, () => {
it("updates the release's notes", () => {
state.release = release;
const newNotes = 'The new release notes';
......@@ -75,7 +75,7 @@ describe('Release detail mutations', () => {
});
});
describe(types.REQUEST_UPDATE_RELEASE, () => {
describe(`${types.REQUEST_UPDATE_RELEASE}`, () => {
it('set state.isUpdatingRelease to true', () => {
mutations[types.REQUEST_UPDATE_RELEASE](state);
......@@ -83,7 +83,7 @@ describe('Release detail mutations', () => {
});
});
describe(types.RECEIVE_UPDATE_RELEASE_SUCCESS, () => {
describe(`${types.RECEIVE_UPDATE_RELEASE_SUCCESS}`, () => {
it('handles a successful response from the server', () => {
mutations[types.RECEIVE_UPDATE_RELEASE_SUCCESS](state, release);
......@@ -93,7 +93,7 @@ describe('Release detail mutations', () => {
});
});
describe(types.RECEIVE_UPDATE_RELEASE_ERROR, () => {
describe(`${types.RECEIVE_UPDATE_RELEASE_ERROR}`, () => {
it('handles an unsuccessful response from the server', () => {
const error = { message: 'An error occurred!' };
mutations[types.RECEIVE_UPDATE_RELEASE_ERROR](state, error);
......@@ -104,7 +104,7 @@ describe('Release detail mutations', () => {
});
});
describe(types.ADD_EMPTY_ASSET_LINK, () => {
describe(`${types.ADD_EMPTY_ASSET_LINK}`, () => {
it('adds a new, empty link object to the release', () => {
state.release = release;
......@@ -123,7 +123,7 @@ describe('Release detail mutations', () => {
});
});
describe(types.UPDATE_ASSET_LINK_URL, () => {
describe(`${types.UPDATE_ASSET_LINK_URL}`, () => {
it('updates an asset link with a new URL', () => {
state.release = release;
......@@ -138,7 +138,7 @@ describe('Release detail mutations', () => {
});
});
describe(types.UPDATE_ASSET_LINK_NAME, () => {
describe(`${types.UPDATE_ASSET_LINK_NAME}`, () => {
it('updates an asset link with a new name', () => {
state.release = release;
......@@ -153,7 +153,7 @@ describe('Release detail mutations', () => {
});
});
describe(types.REMOVE_ASSET_LINK, () => {
describe(`${types.REMOVE_ASSET_LINK}`, () => {
it('removes an asset link from the release', () => {
state.release = release;
......
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