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

test tabs divider for repo_tabs_spec

parent cc958b4a
......@@ -2,7 +2,7 @@ import Vue from 'vue';
import RepoStore from '~/repo/stores/repo_store';
import repoTabs from '~/repo/components/repo_tabs.vue';
describe('RepoTabs', () => {
fdescribe('RepoTabs', () => {
const openedFiles = [{
id: 0,
active: true,
......@@ -25,9 +25,10 @@ describe('RepoTabs', () => {
expect(vm.$el.id).toEqual('tabs');
expect(vm.$el.classList.contains('overflown')).toBeTruthy();
expect(tabs.length).toEqual(2);
expect(tabs.length).toEqual(3);
expect(tabs[0].classList.contains('active')).toBeTruthy();
expect(tabs[1].classList.contains('active')).toBeFalsy();
expect(tabs[2].classList.contains('tabs-divider')).toBeTruthy();
});
it('does not render a tabs list if not isMini', () => {
......
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