Commit b6911455 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Tidy up repo_tabs_spec

parent 545ba40a
...@@ -9,16 +9,13 @@ describe('RepoTabs', () => { ...@@ -9,16 +9,13 @@ describe('RepoTabs', () => {
}, { }, {
id: 1, id: 1,
}]; }];
function createComponent() { function createComponent() {
const RepoTabs = Vue.extend(repoTabs); const RepoTabs = Vue.extend(repoTabs);
return new RepoTabs().$mount(); return new RepoTabs().$mount();
} }
beforeEach(() => {
spyOn(repoTabs.methods, 'isOverflow');
});
it('renders a list of tabs', () => { it('renders a list of tabs', () => {
RepoStore.openedFiles = openedFiles; RepoStore.openedFiles = openedFiles;
RepoStore.tabsOverflow = true; RepoStore.tabsOverflow = true;
......
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