123456789101112 |
- import * as Types from '#shared/graphql/types.ts';
- import * as Mocks from '#tests/graphql/builders/mocks.ts'
- import * as Operations from './searchOverview.api.ts'
- export function mockSearchQuery(defaults: Mocks.MockDefaultsValue<Types.SearchQuery, Types.SearchQueryVariables>) {
- return Mocks.mockGraphQLResult(Operations.SearchDocument, defaults)
- }
- export function waitForSearchQueryCalls() {
- return Mocks.waitForGraphQLMockCalls<Types.SearchQuery>(Operations.SearchDocument)
- }
|