Skip to content

Commit

Permalink
update query mock in home test
Browse files Browse the repository at this point in the history
  • Loading branch information
garyjzhao committed Oct 21, 2024
1 parent e86d32d commit 288e094
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/features/Home/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ const settingsMock = [
request: {
query: GetFavoritesDocument,
variables: {
filter: 'INCLUDE_ALL',
isMAC: true
filter: ModelPlanFilter.INCLUDE_ALL
}
},
result: {
Expand Down Expand Up @@ -97,8 +96,16 @@ const settingsMock = [
__typename: 'PlanCollaborator'
}
],
crs: [],
tdls: [],
echimpCRsAndTDLs: [
{
id: '123',
__typename: 'EChimpCR'
},
{
id: '456',
__typename: 'EChimpTDL'
}
],
__typename: 'ModelPlan'
}
]
Expand Down

0 comments on commit 288e094

Please sign in to comment.