Correct commentTree failure unit-test - issue #1776
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { fakeCurrentActorData } from "../common";
|
||||
|
||||
export const loginMock = {
|
||||
email: "some@email.tld",
|
||||
password: "somepassword",
|
||||
@@ -42,3 +44,13 @@ export const nullIdentityMock = {
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export const defaultIdentityMock = {
|
||||
data: {
|
||||
loggedUser: {
|
||||
__typename: "loggedUser",
|
||||
id: 1,
|
||||
actors: [fakeCurrentActorData()],
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -51,19 +51,6 @@ export const joinEventResponseMock = {
|
||||
},
|
||||
};
|
||||
|
||||
export const currentActorClientMock = {
|
||||
data: {
|
||||
actor: {
|
||||
__typename: "Person",
|
||||
preferredUsername: "some_actor",
|
||||
name: "Some actor",
|
||||
avatar: null,
|
||||
domain: null,
|
||||
id: "1",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export const joinEventMock = {
|
||||
eventId: "1",
|
||||
actorId: "1",
|
||||
|
||||
Reference in New Issue
Block a user