summaryrefslogtreecommitdiff
path: root/spec/javascripts
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-10-30 16:25:32 +0000
committerPhil Hughes <me@iamphill.com>2017-10-30 16:25:32 +0000
commit098a98055abd32a7049b5429064f1ed45e45eea8 (patch)
tree8faf66231d3a5ca47179e0674e211e3467f28466 /spec/javascripts
parent5c75d750cf3b86e7e61df89b4b0efef1207829e0 (diff)
downloadgitlab-ce-098a98055abd32a7049b5429064f1ed45e45eea8.tar.gz
spec fixes
increased perf of scrolling tabs into view
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/repo/components/new_dropdown/index_spec.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/javascripts/repo/components/new_dropdown/index_spec.js b/spec/javascripts/repo/components/new_dropdown/index_spec.js
index dd751f32333..93b10fc1fee 100644
--- a/spec/javascripts/repo/components/new_dropdown/index_spec.js
+++ b/spec/javascripts/repo/components/new_dropdown/index_spec.js
@@ -10,7 +10,11 @@ describe('new dropdown component', () => {
beforeEach(() => {
const component = Vue.extend(newDropdown);
- vm = createComponentWithStore(component, store).$mount();
+ vm = createComponentWithStore(component, store);
+
+ vm.$store.state.path = '';
+
+ vm.$mount();
});
afterEach(() => {