mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Update admin/src/pages/Overview.spec.js
Co-authored-by: Hannes Heine <heine.hannes@gmail.com>
This commit is contained in:
parent
7c2bf9da7a
commit
580f57f99d
@ -15,59 +15,6 @@ const localVue = global.localVue
|
|||||||
localVue.use(VueApollo)
|
localVue.use(VueApollo)
|
||||||
|
|
||||||
const storeCommitMock = jest.fn()
|
const storeCommitMock = jest.fn()
|
||||||
// const apolloQueryMock = jest.fn().mockResolvedValue({
|
|
||||||
// data: {
|
|
||||||
// listAllContributions: {
|
|
||||||
// contributionCount: 2,
|
|
||||||
// contributionList: [
|
|
||||||
// {
|
|
||||||
// id: 1,
|
|
||||||
// firstName: 'Bibi',
|
|
||||||
// lastName: 'Bloxberg',
|
|
||||||
// userId: 99,
|
|
||||||
// email: 'bibi@bloxberg.de',
|
|
||||||
// amount: 500,
|
|
||||||
// memo: 'Danke für alles',
|
|
||||||
// date: new Date(),
|
|
||||||
// moderator: 1,
|
|
||||||
// state: 'PENDING',
|
|
||||||
// creation: [500, 500, 500],
|
|
||||||
// messagesCount: 0,
|
|
||||||
// deniedBy: null,
|
|
||||||
// deniedAt: null,
|
|
||||||
// confirmedBy: null,
|
|
||||||
// confirmedAt: null,
|
|
||||||
// contributionDate: new Date(),
|
|
||||||
// deletedBy: null,
|
|
||||||
// deletedAt: null,
|
|
||||||
// createdAt: new Date(),
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// id: 2,
|
|
||||||
// firstName: 'Räuber',
|
|
||||||
// lastName: 'Hotzenplotz',
|
|
||||||
// userId: 100,
|
|
||||||
// email: 'raeuber@hotzenplotz.de',
|
|
||||||
// amount: 1000000,
|
|
||||||
// memo: 'Gut Ergattert',
|
|
||||||
// date: new Date(),
|
|
||||||
// moderator: 1,
|
|
||||||
// state: 'PENDING',
|
|
||||||
// creation: [500, 500, 500],
|
|
||||||
// messagesCount: 0,
|
|
||||||
// deniedBy: null,
|
|
||||||
// deniedAt: null,
|
|
||||||
// confirmedBy: null,
|
|
||||||
// confirmedAt: null,
|
|
||||||
// contributionDate: new Date(),
|
|
||||||
// deletedBy: null,
|
|
||||||
// deletedAt: null,
|
|
||||||
// createdAt: new Date(),
|
|
||||||
// },
|
|
||||||
// ],
|
|
||||||
// },
|
|
||||||
// },
|
|
||||||
// })
|
|
||||||
|
|
||||||
const mocks = {
|
const mocks = {
|
||||||
$t: jest.fn((t) => t),
|
$t: jest.fn((t) => t),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user