Skip to content

Commit 97e4c82

Browse files
committed
add eslint-disable comment
1 parent 501755f commit 97e4c82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/subscription/__tests__/subscribe-test.ts

+3
Original file line numberDiff line numberDiff line change
@@ -283,12 +283,14 @@ describe('Subscription Initialization Phase', () => {
283283
});
284284
invariant(isAsyncIterable(subscription));
285285

286+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
286287
subscription.next(); // Ask for a result, but ignore it.
287288

288289
expect(didResolveImportantEmail).to.equal(true);
289290
expect(didResolveNonImportantEmail).to.equal(false);
290291

291292
// Close subscription
293+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
292294
subscription.return();
293295
});
294296

@@ -746,6 +748,7 @@ describe('Subscription Publish Phase', () => {
746748
});
747749

748750
payload = subscription.next();
751+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
749752
subscription.return();
750753

751754
// A new email arrives!

0 commit comments

Comments
 (0)