diff --git a/test/all.ts b/test/all.ts index 99ac5fc..2a8c073 100644 --- a/test/all.ts +++ b/test/all.ts @@ -887,7 +887,7 @@ describe('remote module', () => { } catch (e) { done(e) } finally { - process.off('unhandledRejection', onUnhandledRejection) + process.off('unhandledRejection' as any, onUnhandledRejection) } }) })