From 000e899e77e1cb2201a39927e6ea12d8d43aae50 Mon Sep 17 00:00:00 2001 From: ssube Date: Sat, 28 Mar 2020 13:35:56 -0500 Subject: [PATCH] fix(test): helper lint error --- test/helpers/async.ts | 1 + 1 file changed, 1 insertion(+) 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;