Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[draft] feat: have assertions return booleans #2564

Closed
wants to merge 1 commit into from
Closed

[draft] feat: have assertions return booleans #2564

wants to merge 1 commit into from

Conversation

jmarkham828
Copy link
Contributor

Addresses issue: #2455, having assertions return booleans.

Copy link
Member

@novemberborn novemberborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So far so good. Could you have a look at the test failures too?

promise.then(() => {
lastPassed = true;
}, error => {
return promise.then(() =>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change this to an async function.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you still spending time on this project? I'd like to setup a call to discuss the code if you're interested? Don't want to waste time trying to interpret the code would be much quicker for you to walk through it.

}, error => {
return promise.then(() =>
true
, error => {
lastFailure = error;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should return false, no?

},
skip: () => {},
experiments: {},
experiments: {
likeAssertion: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This experiment has been removed, the old line was fine 😉

This was referenced Sep 19, 2020
@novemberborn
Copy link
Member

Closing in favor of #2586.

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.

3 participants