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

Implemented diff for 'to have attributes' + to have class(es) assertion #14

Merged
merged 3 commits into from
May 4, 2015

Conversation

papandreou
Copy link
Member

/cc @sunesimonsen who came up with the idea of doing the diff like this.

Next thing I'd like to look into is a to satisfy for HTMLElement, but this PR is already too big.

@coveralls
Copy link

Coverage Status

Coverage increased (+2.04%) to 90.22% when pulling 14d30c9 on papandreou:feature/toHaveAttributesDiff into 4e4b932 on Munter:master.

@Munter
Copy link
Member

Munter commented May 4, 2015

There are parts in here I don't quite get. Probably since I haven't been massaging custom output before and haven't followed along with the promises implementation in unexpected. Looks good though, so I'll merge

Munter added a commit that referenced this pull request May 4, 2015
Implemented diff for 'to have attributes' + to have class(es) assertion
@Munter Munter merged commit 3ccd201 into unexpectedjs:master May 4, 2015
@Munter
Copy link
Member

Munter commented May 4, 2015

Published in v0.8.0

@papandreou
Copy link
Member Author

and haven't followed along with the promises implementation in unexpected

Yeah, when you cannot delegate directly to to satisfy, you need to reimplement parts of it. That includes supporting promise-returning expect.its everywhere.

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