Merge pull request #2201 from Human-Connection/2161-fix

console.error in Hashtag.spec.js #2161
This commit is contained in:
mattwr18 2019-11-12 00:56:45 +01:00 committed by GitHub
commit ad01c9925f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,12 @@
import { shallowMount, createLocalVue } from '@vue/test-utils'
import { config, shallowMount, createLocalVue } from '@vue/test-utils'
import Styleguide from '@human-connection/styleguide'
import Hashtag from './Hashtag'
const localVue = createLocalVue()
localVue.use(Styleguide)
config.stubs['nuxt-link'] = '<span><slot /></span>'
describe('Hashtag', () => {
let id