mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fixed vue warning
This commit is contained in:
parent
96f84e33f7
commit
3fda4f6770
@ -5,6 +5,7 @@ import Hashtag from './Hashtag'
|
||||
const localVue = global.localVue
|
||||
|
||||
config.stubs['nuxt-link'] = '<span><slot /></span>'
|
||||
config.stubs['nuxt-child'] = '<span><slot /></span>'
|
||||
|
||||
describe('Hashtag', () => {
|
||||
let id
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
import { mount } from '@vue/test-utils'
|
||||
import { config, mount } from '@vue/test-utils'
|
||||
import admin from './admin.vue'
|
||||
|
||||
config.stubs['nuxt-child'] = '<span><slot /></span>'
|
||||
|
||||
const localVue = global.localVue
|
||||
|
||||
describe('admin.vue', () => {
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
import { mount } from '@vue/test-utils'
|
||||
import { config, mount } from '@vue/test-utils'
|
||||
import moderation from './moderation.vue'
|
||||
|
||||
config.stubs['nuxt-child'] = '<span><slot /></span>'
|
||||
|
||||
const localVue = global.localVue
|
||||
|
||||
describe('moderation.vue', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user