Skip to content

Commit

Permalink
add eslint-disable comment
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj committed Apr 15, 2021
1 parent 501755f commit 97e4c82
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/subscription/__tests__/subscribe-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,12 +283,14 @@ describe('Subscription Initialization Phase', () => {
});
invariant(isAsyncIterable(subscription));

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

expect(didResolveImportantEmail).to.equal(true);
expect(didResolveNonImportantEmail).to.equal(false);

// Close subscription
// eslint-disable-next-line @typescript-eslint/no-floating-promises
subscription.return();
});

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

payload = subscription.next();
// eslint-disable-next-line @typescript-eslint/no-floating-promises
subscription.return();

// A new email arrives!
Expand Down

0 comments on commit 97e4c82

Please sign in to comment.