Skip to content

Conversation

fent
Copy link
Contributor

@fent fent commented Mar 4, 2020

I noticed that async assert functions (rejects, doesNotReject) weren't working. took me a while to find out this was the culprit when working on some tests.

anyway, those functions can take in an async function or promise. this change assumes all assert functions are async and returns their value, which should be safe since those are the only functions that depend on that returned value.

@fent fent changed the title Async Fix async assert functions Mar 4, 2020
@pihvi pihvi merged commit 894dc7e into pihvi:master Mar 5, 2020
@fent fent deleted the async branch March 5, 2020 01:11
@pihvi
Copy link
Owner

pihvi commented Mar 5, 2020

Thanks! Released as version 3.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants