import * as Types from '#shared/graphql/types.ts'; import * as Mocks from '#tests/graphql/builders/mocks.ts' import * as Operations from './userCurrentAvatarActive.api.ts' import * as ErrorTypes from '#shared/types/error.ts' export function mockUserCurrentAvatarActiveQuery(defaults: Mocks.MockDefaultsValue) { return Mocks.mockGraphQLResult(Operations.UserCurrentAvatarActiveDocument, defaults) } export function waitForUserCurrentAvatarActiveQueryCalls() { return Mocks.waitForGraphQLMockCalls(Operations.UserCurrentAvatarActiveDocument) } export function mockUserCurrentAvatarActiveQueryError(message: string, extensions: {type: ErrorTypes.GraphQLErrorTypes }) { return Mocks.mockGraphQLResultWithError(Operations.UserCurrentAvatarActiveDocument, message, extensions); }