Skip to content
Snippets Groups Projects

CE Improve import status table UI

Closed Luke Bennett requested to merge import-go-to-project-cta into master
9 unresolved threads
Compare and Show latest version
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -146,8 +146,8 @@ describe('ImportProjectsTable', () => {
@@ -146,8 +146,8 @@ describe('ImportProjectsTable', () => {
},
},
];
];
mock.onGet(reposPath).reply(200, response);
mock.onGet(reposPath).replyOnce(200, response);
mock.onGet(jobsPath).reply(200, []);
mock.onGet(jobsPath).replyOnce(200, []);
store.dispatch('setInitialData', { importPath, jobsPath, pollingDeferDuration });
store.dispatch('setInitialData', { importPath, jobsPath, pollingDeferDuration });
@@ -164,7 +164,7 @@ describe('ImportProjectsTable', () => {
@@ -164,7 +164,7 @@ describe('ImportProjectsTable', () => {
expect(vm.$el.querySelector(`.ic-status_${statusObject.icon}`)).not.toBeNull();
expect(vm.$el.querySelector(`.ic-status_${statusObject.icon}`)).not.toBeNull();
mock.onGet(jobsPath).reply(200, updatedProjects);
mock.onGet(jobsPath).replyOnce(200, updatedProjects);
})
})
.then(() => setTimeoutPromise(pollingDeferDuration))
.then(() => setTimeoutPromise(pollingDeferDuration))
.then(() => {
.then(() => {
Loading