8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5139ec2 commit 6714bbeCopy full SHA for 6714bbe
src/execution/__tests__/subscribe-test.ts
@@ -125,6 +125,7 @@ function createSubscription(pubsub: SimplePubSub<Email>) {
125
return subscribe({ schema: emailSchema, document, rootValue: data });
126
}
127
128
+// TODO: consider adding this method to testUtils (with tests)
129
function expectPromise(maybePromise: unknown) {
130
assert(isPromise(maybePromise));
131
@@ -149,6 +150,7 @@ function expectPromise(maybePromise: unknown) {
149
150
};
151
152
153
154
function expectEqualPromisesOrValues<T>(
155
value1: PromiseOrValue<T>,
156
value2: PromiseOrValue<T>,
0 commit comments