diff options
author | Jacques Erasmus <jerasmus@gitlab.com> | 2019-12-09 11:51:00 +0300 |
---|---|---|
committer | Kushal Pandya <kushalspandya@gmail.com> | 2019-12-09 11:51:00 +0300 |
commit | 79d1acf4bd17dc5b08d1089de76713ec355d7876 (patch) | |
tree | 3ff5173e171896b93b291890e5d2b9439ad3cd70 /spec | |
parent | c2b85f71ccd8bd095517e8f1eed48eeea87ecb8a (diff) |
Add eslint to the codebase
Added/configured eslint
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/components/navigation_toggle/navigation_toggle_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/components/navigation_toggle/navigation_toggle_spec.js b/spec/javascripts/components/navigation_toggle/navigation_toggle_spec.js index de77854bf..776969f99 100644 --- a/spec/javascripts/components/navigation_toggle/navigation_toggle_spec.js +++ b/spec/javascripts/components/navigation_toggle/navigation_toggle_spec.js @@ -1,11 +1,11 @@ import { mount } from '@vue/test-utils'; -import NavigationToggle from '~/components/navigation_toggle/navigation_toggle.vue'; +import NavigationToggle from '../../../../content/frontend/components/navigation_toggle/navigation_toggle.vue'; -describe('component: Navigation Toggle', function () { +describe('component: Navigation Toggle', () => { let wrapper; beforeEach(() => { - let propsData = { targetSelector: '.some-selector' }; + const propsData = { targetSelector: '.some-selector' }; wrapper = mount(NavigationToggle, { propsData, }); }); |