mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
lint fix
This commit is contained in:
parent
885a282b2a
commit
87c3f4619e
@ -6,7 +6,7 @@ import Styleguide from '@human-connection/styleguide'
|
|||||||
import VueRouter from 'vue-router'
|
import VueRouter from 'vue-router'
|
||||||
|
|
||||||
const routes = [{ path: '/' }]
|
const routes = [{ path: '/' }]
|
||||||
const router = new VueRouter({routes})
|
const router = new VueRouter({ routes })
|
||||||
const localVue = createLocalVue()
|
const localVue = createLocalVue()
|
||||||
|
|
||||||
localVue.use(Vuex)
|
localVue.use(Vuex)
|
||||||
@ -53,7 +53,7 @@ describe('DeleteModal.vue', () => {
|
|||||||
expect(Wrapper().vm.loading).toBe(false)
|
expect(Wrapper().vm.loading).toBe(false)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('given a post', () => {
|
describe('given a post', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
propsData = {
|
propsData = {
|
||||||
@ -74,7 +74,7 @@ describe('DeleteModal.vue', () => {
|
|||||||
|
|
||||||
describe('mount', () => {
|
describe('mount', () => {
|
||||||
const Wrapper = () => {
|
const Wrapper = () => {
|
||||||
return mount(DeleteModal, { propsData, mocks, localVue, router})
|
return mount(DeleteModal, { propsData, mocks, localVue, router })
|
||||||
}
|
}
|
||||||
|
|
||||||
beforeEach(jest.useFakeTimers)
|
beforeEach(jest.useFakeTimers)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user