MCPcopy
hub / github.com/IgnisDa/ryot / getGraphqlClient

Function getGraphqlClient

tests/src/utils.ts:29–31  ·  view source on GitHub ↗
(baseUrl: string)

Source from the content-addressed store, hash-verified

27export const DEFAULT_USER_COLLECTIONS_COUNT = 7;
28
29export const getGraphqlClient = (baseUrl: string) => {
30 return new GraphQLClient(`${baseUrl}/backend/graphql`);
31};
32
33export async function registerTestUser(baseUrl: string) {
34 const client = getGraphqlClient(baseUrl);

Callers 15

health.test.tsFile · 0.90
user.test.tsFile · 0.90
cache.test.tsFile · 0.90
registerTestUserFunction · 0.85
getUserCollectionsListFunction · 0.85
getUserWorkoutsListFunction · 0.85
getUserMeasurementsListFunction · 0.85
getFirstExerciseIdFunction · 0.85
getUserMetadataListFunction · 0.85
searchAudibleAudiobookFunction · 0.85
getCollectionContentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected