Skip to content

Commit eeda8db

Browse files
author
Megan Liu
committed
#1604: fixed failing typescript checks (wrong test data inputs)
1 parent cfbc8ab commit eeda8db

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

src/backend/tests/test-data/teams.test-data.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ export const prismaTeam1: Prisma.TeamGetPayload<typeof teamQueryArgs> = {
1717
headId: 4,
1818
projects: [],
1919
members: [aquaman],
20-
leads: [wonderwoman, alfred]
20+
leads: [wonderwoman, alfred],
21+
dateArchived: new Date('12/15/1985'),
22+
userId: 3
2123
};
2224

2325
export const primsaTeam2: Prisma.TeamGetPayload<typeof teamQueryArgs> = {
@@ -29,7 +31,9 @@ export const primsaTeam2: Prisma.TeamGetPayload<typeof teamQueryArgs> = {
2931
headId: 10,
3032
projects: [],
3133
members: [],
32-
leads: []
34+
leads: [],
35+
dateArchived: new Date('12/02/2002'),
36+
userId: null
3337
};
3438

3539
export const sharedTeam1: SharedTeam = {
@@ -52,5 +56,7 @@ export const justiceLeague: Prisma.TeamGetPayload<typeof teamQueryArgs> = {
5256
head: batman,
5357
projects: [],
5458
members: [aquaman, theVisitor],
55-
leads: [wonderwoman]
59+
leads: [wonderwoman],
60+
dateArchived: null,
61+
userId: null
5662
};

0 commit comments

Comments
 (0)