Commit 61160143 authored by Phil Hughes's avatar Phil Hughes

fixed eslint

parent ef246333
...@@ -133,16 +133,7 @@ export default { ...@@ -133,16 +133,7 @@ export default {
.then(res => res.data) .then(res => res.data)
.then((data) => { .then((data) => {
if (data.length) { if (data.length) {
data[0].stop_url = 'asd'; this.mr.deployments = data;
this.mr.deployments = data.concat({
...data[0],
id: data[0].id + 1,
name: 'review/1-make-homepage-more-descriptive',
deployed_at: new Date(),
deployed_at_formatted: '123',
external_url_formatted: 'ad3-minmal-ruby-app-review-1-make-hom-gnm6yk.gitlab.training',
metrics_url: 'a',
});
} }
}) })
.catch(() => { .catch(() => {
......
...@@ -12,7 +12,7 @@ const returnPromise = data => new Promise((resolve) => { ...@@ -12,7 +12,7 @@ const returnPromise = data => new Promise((resolve) => {
}); });
}); });
fdescribe('mrWidgetOptions', () => { describe('mrWidgetOptions', () => {
let vm; let vm;
let MrWidgetOptions; let MrWidgetOptions;
......
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