Package-level declarations
Types
Base class for test queries. Note we can't make FooOperation extend both Query and Subscription because that confuses ApolloClient when deciding whant NetworkTransport to use.
FooQuery is a query for tests that doesn't require codegen.
FooSubscription is a query for tests that doesn't require codegen.
Properties
The host filesystem
The host filesystem
The host filesystem
The path to the "tests" directory. This assumes all tests are run from a predictable place relative to "tests" We need this for JS tests where the CWD is not properly set at the beginning of tests
The path to the "tests" directory. This assumes all tests are run from a predictable place relative to "tests" We need this for JS tests where the CWD is not properly set at the beginning of tests
Functions
Extracts the operationId from a graphql-ws message, ignores "complete messages"
Extracts the operationId from a graphql-ws message
A convenience function that makes sure the MockServer and ApolloClient are properly closed at the end of the test