You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When comparing two string with t.is(actual, expected) sometimes, when the test fails, is better to have the two strings side by side instead of showing the diff. It would be nice if this can be configured in some way.
For example: t.is("<undefined></undefined>", "<div></div>");
Current output :
Difference:
"<undefinedv></undefinedv>"
Suggested output (using same output as other types use):
Actual:
"<undefined></undefined>"
Must be strictly equal to:
"<div></div>"
Feature request:
When comparing two string with
t.is(actual, expected)
sometimes, when the test fails, is better to have the two strings side by side instead of showing the diff. It would be nice if this can be configured in some way.For example:
t.is("<undefined></undefined>", "<div></div>");
Current output :
Suggested output (using same output as other types use):
Or even better:
The text was updated successfully, but these errors were encountered: