mirror of
https://github.com/IT4Change/gradido.git
synced 2026-01-20 20:01:31 +00:00
adminbereich, übersicht, usersuche, schöpfen, schöpfung bestätigen
This commit is contained in:
parent
9c02869ea0
commit
5089152be7
@ -2,6 +2,7 @@ import { mount } from '@vue/test-utils'
|
||||
import CreationFormular from './CreationFormular.vue'
|
||||
|
||||
const localVue = global.localVue
|
||||
<<<<<<< HEAD
|
||||
|
||||
const mocks = {
|
||||
$moment: jest.fn(() => {
|
||||
@ -22,6 +23,14 @@ const propsData = {
|
||||
creation: {},
|
||||
itemsMassCreation: {},
|
||||
}
|
||||
=======
|
||||
const propsData = {
|
||||
type: 'STRING',
|
||||
creation: [100, 500, 1000],
|
||||
itemUser: [],
|
||||
}
|
||||
const mocks = { $moment: jest.fn() }
|
||||
>>>>>>> ddaaab9c (add Tests, CreationFormular.spec.js, NavBar.spec.js, UserTable.spec.js)
|
||||
|
||||
describe('CreationFormular', () => {
|
||||
let wrapper
|
||||
|
||||
@ -6,7 +6,11 @@ const localVue = global.localVue
|
||||
const mocks = {
|
||||
$store: {
|
||||
state: {
|
||||
<<<<<<< HEAD
|
||||
openCreations: 1,
|
||||
=======
|
||||
openCreations: 0,
|
||||
>>>>>>> ddaaab9c (add Tests, CreationFormular.spec.js, NavBar.spec.js, UserTable.spec.js)
|
||||
},
|
||||
},
|
||||
}
|
||||
@ -15,7 +19,11 @@ describe('NavBar', () => {
|
||||
let wrapper
|
||||
|
||||
const Wrapper = () => {
|
||||
<<<<<<< HEAD
|
||||
return mount(NavBar, { localVue, mocks })
|
||||
=======
|
||||
return mount(NavBar, { mocks, localVue })
|
||||
>>>>>>> ddaaab9c (add Tests, CreationFormular.spec.js, NavBar.spec.js, UserTable.spec.js)
|
||||
}
|
||||
|
||||
describe('mount', () => {
|
||||
|
||||
@ -7,10 +7,24 @@ describe('UserTable', () => {
|
||||
let wrapper
|
||||
|
||||
const propsData = {
|
||||
<<<<<<< HEAD
|
||||
type: 'Type',
|
||||
itemsUser: [],
|
||||
fieldsTable: [],
|
||||
creation: {},
|
||||
=======
|
||||
type: 'TableName',
|
||||
itemUser: [
|
||||
{
|
||||
id: 1,
|
||||
email: 'dickerson@web.de',
|
||||
first_name: 'Dickerson',
|
||||
last_name: 'Macdonald',
|
||||
creation: '450,200,700',
|
||||
},
|
||||
],
|
||||
creation: [null, null, null],
|
||||
>>>>>>> ddaaab9c (add Tests, CreationFormular.spec.js, NavBar.spec.js, UserTable.spec.js)
|
||||
}
|
||||
|
||||
const Wrapper = () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user