-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
bugcurrent functionality does not work as desiredcurrent functionality does not work as desired
Description
This is as expected:
const value = Symbol()
t.notThrows(() => value) === undefinedHowever:
const value = Symbol()
(await t.notThrows(Promise.resolve(value))) === valuet.notThrows(promise) should return a promise, but for an undefined value.
The offending line is at
Line 124 in dcdfbee
| return fn |
The Flow and TypeScript definitions should be updated too:
sindresorhus and vadimdemedesapokryfos
Metadata
Metadata
Assignees
Labels
bugcurrent functionality does not work as desiredcurrent functionality does not work as desired