123456789101112 |
- import * as Types from '#shared/graphql/types.ts';
- import * as Mocks from '#tests/graphql/builders/mocks.ts'
- import * as Operations from './translations.api.ts'
- export function mockTranslationsQuery(defaults: Mocks.MockDefaultsValue<Types.TranslationsQuery, Types.TranslationsQueryVariables>) {
- return Mocks.mockGraphQLResult(Operations.TranslationsDocument, defaults)
- }
- export function waitForTranslationsQueryCalls() {
- return Mocks.waitForGraphQLMockCalls<Types.TranslationsQuery>(Operations.TranslationsDocument)
- }
|