mock_src.imockserver

Interface: IMockServer#

mock/src.IMockServer

Hierarchy#

  • IMockServer

Table of contents#

Properties#

Properties#

query#

query: (query: string, vars?: Record<string, any\>) => Promise<ExecutionResult<Record<string, any\>\>\>

Executes the provided query against the mocked schema.

param GraphQL query to execute

param Variables

Defined in: packages/mock/src/types.ts:39