BigW Consortium Gitlab

fixed repo_tabs_spec

parent 8d9e99f7
...@@ -26,8 +26,8 @@ describe('RepoTabs', () => { ...@@ -26,8 +26,8 @@ describe('RepoTabs', () => {
const tabs = [...vm.$el.querySelectorAll('.multi-file-tab')]; const tabs = [...vm.$el.querySelectorAll('.multi-file-tab')];
expect(tabs.length).toEqual(2); expect(tabs.length).toEqual(2);
expect(tabs[0].classList.contains('active')).toEqual(true); expect(tabs[0].parentNode.classList.contains('active')).toEqual(true);
expect(tabs[1].classList.contains('active')).toEqual(false); expect(tabs[1].parentNode.classList.contains('active')).toEqual(false);
done(); done();
}); });
......
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