diff --git a/src/execution/__tests__/subscribe-test.ts b/src/execution/__tests__/subscribe-test.ts index 508278f867..03e3da2839 100644 --- a/src/execution/__tests__/subscribe-test.ts +++ b/src/execution/__tests__/subscribe-test.ts @@ -125,6 +125,7 @@ function createSubscription(pubsub: SimplePubSub) { return subscribe({ schema: emailSchema, document, rootValue: data }); } +// TODO: consider adding this method to testUtils (with tests) function expectPromise(maybePromise: unknown) { assert(isPromise(maybePromise)); @@ -149,6 +150,7 @@ function expectPromise(maybePromise: unknown) { }; } +// TODO: consider adding this method to testUtils (with tests) function expectEqualPromisesOrValues( value1: PromiseOrValue, value2: PromiseOrValue,