Fix JS unit tests

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-06-10 14:44:56 +02:00
parent 19792abd41
commit 8923319306
4 changed files with 76 additions and 24 deletions

View File

@@ -63,6 +63,17 @@ export const joinEventMock = {
locale: "en_US",
};
export const eventNoCommentThreadsMock = {
data: {
event: {
__typename: "Event",
id: "1",
uuid: "f37910ea-fd5a-4756-9679-00971f3f4106",
comments: [],
},
},
};
export const eventCommentThreadsMock = {
data: {
event: {