mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
29 lines
646 B
JavaScript
29 lines
646 B
JavaScript
import { config, shallowMount, mount } from '@vue/test-utils'
|
|
|
|
import ConfirmModal from './DeleteUserModal.vue'
|
|
|
|
const localVue = global.localVue
|
|
|
|
describe('DisableModal.vue', () => {
|
|
let mocks
|
|
let propsData
|
|
let wrapper
|
|
|
|
beforeEach(() => {
|
|
propsData = {
|
|
slug: "oger-ly",
|
|
id: "u1",
|
|
name: "Oger Ly",
|
|
avatar: "avatar-link",
|
|
contributionsCount: "42",
|
|
commentedCount: "24",
|
|
createdAt: "date-created-at",
|
|
}
|
|
mocks = {
|
|
$t: jest.fn(),
|
|
$filters: {
|
|
truncate: a => a,
|
|
},
|
|
}
|
|
})
|
|
}) |