Открыть боковую панель
nt_test133
nt_project_uxpg8lvcuq8w
Коммиты
44d3590e
Коммит
44d3590e
создал
Апр 08, 2019
по автору
Winnie Hellmann
Просмотр файлов
Wrap file template mutation names in template strings
владелец
c2c8189b
Изменения
1
Скрыть пробелы
Построчно
Рядом
spec/frontend/ide/stores/modules/file_templates/mutations_spec.js
Просмотр файла @
44d3590e
...
...
@@ -9,7 +9,7 @@ describe('IDE file templates mutations', () => {
state
=
createState
();
});
describe
(
types
.
REQUEST_TEMPLATE_TYPES
,
()
=>
{
describe
(
`
${
types
.
REQUEST_TEMPLATE_TYPES
}
`
,
()
=>
{
it
(
'
sets isLoading
'
,
()
=>
{
mutations
[
types
.
REQUEST_TEMPLATE_TYPES
](
state
);
...
...
@@ -17,7 +17,7 @@ describe('IDE file templates mutations', () => {
});
});
describe
(
types
.
RECEIVE_TEMPLATE_TYPES_ERROR
,
()
=>
{
describe
(
`
${
types
.
RECEIVE_TEMPLATE_TYPES_ERROR
}
`
,
()
=>
{
it
(
'
sets isLoading
'
,
()
=>
{
state
.
isLoading
=
true
;
...
...
@@ -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
'
,
()
=>
{
state
.
isLoading
=
true
;
...
...
@@ -43,7 +43,7 @@ describe('IDE file templates mutations', () => {
});
});
describe
(
types
.
SET_SELECTED_TEMPLATE_TYPE
,
()
=>
{
describe
(
`
${
types
.
SET_SELECTED_TEMPLATE_TYPE
}
`
,
()
=>
{
it
(
'
sets selectedTemplateType
'
,
()
=>
{
mutations
[
types
.
SET_SELECTED_TEMPLATE_TYPE
](
state
,
'
type
'
);
...
...
@@ -59,7 +59,7 @@ describe('IDE file templates mutations', () => {
});
});
describe
(
types
.
SET_UPDATE_SUCCESS
,
()
=>
{
describe
(
`
${
types
.
SET_UPDATE_SUCCESS
}
`
,
()
=>
{
it
(
'
sets updateSuccess
'
,
()
=>
{
mutations
[
types
.
SET_UPDATE_SUCCESS
](
state
,
true
);
...
...
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать