Commit 5e5e9c19 authored by Phil Hughes's avatar Phil Hughes

fixed karma spec with prev directory button

parent a11410a8
......@@ -63,6 +63,7 @@ describe('RepoSidebar', () => {
it('renders a prev directory if is not root', () => {
RepoStore.files = [file()];
RepoStore.isRoot = false;
RepoStore.loading.tree = false;
vm = createComponent();
expect(vm.$el.querySelector('tbody .prev-directory')).toBeTruthy();
......
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