chore: update aegir (#1027)

Updates aegir, fixes all new linting errors.
This commit is contained in:
Alex Potsides
2021-11-19 08:02:24 +00:00
committed by GitHub
parent 3fb424914f
commit 3bed7b4cb2
39 changed files with 104 additions and 102 deletions

View File

@ -125,7 +125,7 @@ describe('Dial Request', () => {
try {
await dialRequest.run({ signal: controller.signal })
expect.fail('Should have thrown')
} catch (err) {
} catch (/** @type {any} */ err) {
expect(err).to.be.an.instanceof(AggregateError)
}
@ -162,7 +162,7 @@ describe('Dial Request', () => {
try {
await dialRequest.run({ signal: controller.signal })
expect.fail('Should have thrown')
} catch (err) {
} catch (/** @type {any} */ err) {
expect(err).to.be.an.instanceof(AggregateError)
}
@ -212,7 +212,7 @@ describe('Dial Request', () => {
setTimeout(() => controller.abort(), 100)
await dialRequest.run({ signal: controller.signal })
expect.fail('dial should have failed')
} catch (err) {
} catch (/** @type {any} */ err) {
expect(err).to.be.an.instanceof(AggregateError)
}