File tree Expand file tree Collapse file tree
src/apps/ums.web-app/src/test/mocks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,36 @@ export const handlers = [
2727 } ) ;
2828 } ) ,
2929
30+ graphql . query ( 'UserAccounts' , ( ) => {
31+ return HttpResponse . json ( {
32+ data : {
33+ getUserAccounts : {
34+ items : [ ] ,
35+ totalItems : 0 ,
36+ totalPages : 1 ,
37+ page : 1 ,
38+ pageSize : 20 ,
39+ } ,
40+ } ,
41+ } ) ;
42+ } ) ,
43+
44+ graphql . query ( 'DelegationsByDelegatedAdmin' , ( ) => {
45+ return HttpResponse . json ( {
46+ data : {
47+ getDelegationsByDelegatedAdmin : [ ] ,
48+ } ,
49+ } ) ;
50+ } ) ,
51+
52+ graphql . query ( 'DelegationsByDelegatingAdmin' , ( ) => {
53+ return HttpResponse . json ( {
54+ data : {
55+ getDelegationsByDelegatingAdmin : [ ] ,
56+ } ,
57+ } ) ;
58+ } ) ,
59+
3060 // Catch-all for unmocked GraphQL queries to prevent 500 errors in Dev mode
3161 http . post ( '*/graphql' , ( ) => {
3262 return HttpResponse . json ( {
You can’t perform that action at this time.
0 commit comments