mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-01-16 18:01:28 +00:00
Modify test importing our styleguide
This commit is contained in:
parent
1ac2c15947
commit
8633f62a39
@ -4,10 +4,6 @@ import Vue from 'vue'
|
||||
import Styleguide from '@human-connection/styleguide'
|
||||
Vue.use(Styleguide)
|
||||
|
||||
import Vue from 'vue'
|
||||
import Styleguide from '@human-connection/styleguide'
|
||||
Vue.use(Styleguide)
|
||||
|
||||
describe('SearchInput.vue', () => {
|
||||
let wrapper
|
||||
const mocks = { $t: () => {} }
|
||||
@ -36,9 +32,7 @@ describe('SearchInput.vue', () => {
|
||||
|
||||
it('changes searchValue as a user inputs a value', () => {
|
||||
wrapper = mount(SearchInput, { mocks })
|
||||
console.log(wrapper.html())
|
||||
let input = wrapper.find('input#nav-search')
|
||||
console.log(input)
|
||||
input.trigger('focus')
|
||||
input.setValue('abc')
|
||||
expect(wrapper.vm.searchValue).toBe('abc')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user