fixed eslint

This commit is contained in:
Phil Hughes 2018-06-12 12:19:59 +01:00
parent 00ced96c53
commit b2cb0c6cbd
No known key found for this signature in database
GPG Key ID: 32245528C52E0F9F
1 changed files with 5 additions and 3 deletions

View File

@ -56,9 +56,7 @@ describe('RepoCommitSection', () => {
vm.$store.state.entries[f.path] = f;
});
spyOn(vm, 'openPendingTab').and.callThrough();
return vm.$mount();
return vm;
}
beforeEach(done => {
@ -66,6 +64,10 @@ describe('RepoCommitSection', () => {
vm = createComponent();
spyOn(vm, 'openPendingTab').and.callThrough();
vm.$mount();
spyOn(service, 'getTreeData').and.returnValue(
Promise.resolve({
headers: {