Correct commentTree failure unit-test - issue #1776

This commit is contained in:
Laurent GAY
2025-07-07 16:14:13 +02:00
parent fc2ee69505
commit 4fd9e3bc86
6 changed files with 135 additions and 42 deletions

View File

@@ -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()],
},
},
};