Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GraphqlQueryStub<TData>

The constraint on variables matching is lighter than official Apollo MockedProvider mocks

See our custom mockGraphQL command for usage

Type parameters

  • TData = any

Hierarchy

  • GraphqlQueryStub

Index

Properties

Properties

operationName

operationName: string

response

response: { data: TData; errors?: { message?: string }[] }

Type declaration

  • data: TData
  • Optional errors?: { message?: string }[]

Generated using TypeDoc