beforeEach(() => somePromiseReturningFn()) is likely a common idiom and we don't want to treat it as an error. * Fixes #1958