Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6714bbe

Browse files
committedJun 9, 2022
add TODOs
1 parent 5139ec2 commit 6714bbe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/execution/__tests__/subscribe-test.ts

+2
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ function createSubscription(pubsub: SimplePubSub<Email>) {
125125
return subscribe({ schema: emailSchema, document, rootValue: data });
126126
}
127127

128+
// TODO: consider adding this method to testUtils (with tests)
128129
function expectPromise(maybePromise: unknown) {
129130
assert(isPromise(maybePromise));
130131

@@ -149,6 +150,7 @@ function expectPromise(maybePromise: unknown) {
149150
};
150151
}
151152

153+
// TODO: consider adding this method to testUtils (with tests)
152154
function expectEqualPromisesOrValues<T>(
153155
value1: PromiseOrValue<T>,
154156
value2: PromiseOrValue<T>,

0 commit comments

Comments
 (0)
Please sign in to comment.