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

Replace should (=> Last publish 3 years ago) by Chai #345

Closed
A-312 opened this issue Dec 21, 2019 · 1 comment · Fixed by A-312/node-blueconfig#1
Closed

Replace should (=> Last publish 3 years ago) by Chai #345

A-312 opened this issue Dec 21, 2019 · 1 comment · Fixed by A-312/node-blueconfig#1

Comments

@A-312
Copy link
Contributor

A-312 commented Dec 21, 2019

must doesn't provide actual + expected when a throw test failed (if the error message is different of the expected message). :(

Before (with must) :

image

After (with Chai) :

image

@A-312
Copy link
Contributor Author

A-312 commented Dec 21, 2019

For cases :

Actual :

We don't have expected/actual :

image

After :

image

Error prototype should be :

{
  message: '...',
  showDiff: true,
  actual: { },
  expected: { }
}

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 a pull request may close this issue.

1 participant