Skip to content

Commit 1bd65a3

Browse files
subscription-test: add missing await (#3120)
1 parent cffcec4 commit 1bd65a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/subscription/__tests__/subscribe-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ describe('Subscription Publish Phase', () => {
716716
});
717717

718718
payload = subscription.next();
719-
subscription.return();
719+
await subscription.return();
720720

721721
// A new email arrives!
722722
expect(

0 commit comments

Comments
 (0)