summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-04-08 20:17:53 +0200
committerWinnie Hellmann <winnie@gitlab.com>2019-04-10 12:50:40 +0200
commit7a255af451a1755a9cc3fc2902ba414d9b5a5f07 (patch)
treee84eb4123ef90a9538275acf13d41babc6eb82d4
parent2704c4a588892e2d1928e0d772610cdaf0f8e760 (diff)
downloadgitlab-ce-7a255af451a1755a9cc3fc2902ba414d9b5a5f07.tar.gz
Wrap modal mutation names in template stringswinh-jest-valid-describe
-rw-r--r--spec/frontend/vuex_shared/modules/modal/mutations_spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/vuex_shared/modules/modal/mutations_spec.js b/spec/frontend/vuex_shared/modules/modal/mutations_spec.js
index d07f8ba1e65..eaaf196d1ec 100644
--- a/spec/frontend/vuex_shared/modules/modal/mutations_spec.js
+++ b/spec/frontend/vuex_shared/modules/modal/mutations_spec.js
@@ -2,7 +2,7 @@ import mutations from '~/vuex_shared/modules/modal/mutations';
import * as types from '~/vuex_shared/modules/modal/mutation_types';
describe('Vuex ModalModule mutations', () => {
- describe(types.SHOW, () => {
+ describe(`${types.SHOW}`, () => {
it('sets isVisible to true', () => {
const state = {
isVisible: false,
@@ -16,7 +16,7 @@ describe('Vuex ModalModule mutations', () => {
});
});
- describe(types.HIDE, () => {
+ describe(`${types.HIDE}`, () => {
it('sets isVisible to false', () => {
const state = {
isVisible: true,
@@ -30,7 +30,7 @@ describe('Vuex ModalModule mutations', () => {
});
});
- describe(types.OPEN, () => {
+ describe(`${types.OPEN}`, () => {
it('sets data and sets isVisible to true', () => {
const data = { id: 7 };
const state = {