Commit b2cb0c6c authored by Phil Hughes's avatar Phil Hughes

fixed eslint

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