@0x/dev-utils: Appease the linter gods.

This commit is contained in:
Lawrence Forman
2019-08-02 16:42:36 -04:00
parent fddbfc2d32
commit ad25942731

View File

@@ -138,5 +138,5 @@ function assertIsPromiseLike(_chai: Chai, maybePromise: any): void {
if (maybePromise.then instanceof Function && maybePromise.catch instanceof Function) {
return;
}
chaiFail(_chai, `Expected ${maybePromise} to be a promise`, new Promise(() => 1), maybePromise);
chaiFail(_chai, `Expected ${maybePromise} to be a promise`, Promise.resolve(), maybePromise);
}