Skip to content

Commit

Permalink
chore: remove obsolete @ts-expect-error
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Oct 24, 2022
1 parent babcc0d commit 7c96d99
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/notifier/test/test-publish-kit.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,11 @@ test('makePublishKit', async t => {
'failure should not be allowed after finalization',
);
await t.throwsAsync(
// @ts-expect-error known to be promise version of PublicationList
subFinal.tail,
undefined,
'tail promise of final result should be rejected',
);
await t.throwsAsync(
// @ts-expect-error known to be promise version of PublicationList
subscriber.subscribeAfter(subFinal.publishCount),
undefined,
'subscribeAfter(finalPublishCount) should be rejected',
Expand Down Expand Up @@ -179,13 +177,11 @@ test('makePublishKit - immediate finish', async t => {
'failure should not be allowed after finalization',
);
await t.throwsAsync(
// @ts-expect-error known to be promise version of PublicationList
subFinal.tail,
undefined,
'tail promise of final result should be rejected',
);
await t.throwsAsync(
// @ts-expect-error known to be promise version of PublicationList
subscriber.subscribeAfter(subFinal.publishCount),
undefined,
'subscribeAfter(finalPublishCount) should be rejected',
Expand Down

0 comments on commit 7c96d99

Please sign in to comment.