Открыть боковую панель
nt_test133
nt_project_uxpg8lvcuq8w
Коммиты
84792c29
Коммит
84792c29
создал
Апр 08, 2019
по автору
Winnie Hellmann
Просмотр файлов
Wrap import project mutation names in template strings
владелец
44d3590e
Изменения
1
Скрыть пробелы
Построчно
Рядом
spec/frontend/import_projects/store/mutations_spec.js
Просмотр файла @
84792c29
...
...
@@ -2,7 +2,7 @@ import * as types from '~/import_projects/store/mutation_types';
import
mutations
from
'
~/import_projects/store/mutations
'
;
describe
(
'
import_projects store mutations
'
,
()
=>
{
describe
(
types
.
RECEIVE_IMPORT_SUCCESS
,
()
=>
{
describe
(
`
${
types
.
RECEIVE_IMPORT_SUCCESS
}
`
,
()
=>
{
it
(
'
removes repoId from reposBeingImported and providerRepos, adds to importedProjects
'
,
()
=>
{
const
repoId
=
1
;
const
state
=
{
...
...
@@ -20,7 +20,7 @@ describe('import_projects store mutations', () => {
});
});
describe
(
types
.
RECEIVE_JOBS_SUCCESS
,
()
=>
{
describe
(
`
${
types
.
RECEIVE_JOBS_SUCCESS
}
`
,
()
=>
{
it
(
'
updates importStatus of existing importedProjects
'
,
()
=>
{
const
repoId
=
1
;
const
state
=
{
importedProjects
:
[{
id
:
repoId
,
importStatus
:
'
started
'
}]
};
...
...
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать