diff --git a/test/helpers/async.ts b/test/helpers/async.ts index 226555f..b9769be 100644 --- a/test/helpers/async.ts +++ b/test/helpers/async.ts @@ -8,6 +8,7 @@ const filterStack = stackTraceFilter(); type AsyncMochaTest = (this: Mocha.Context | void) => Promise; type AsyncMochaSuite = (this: Mocha.Suite) => Promise; +/* eslint-disable-next-line @typescript-eslint/ban-types */ function isNil(val: T | null | undefined): val is null | undefined { /* eslint-disable-next-line no-null/no-null */ return val === null || val === undefined;