Skip to content

Commit

Permalink
Improve error output readability
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb committed Dec 4, 2022
1 parent d2f7e46 commit 1134f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/abstract-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ export function test (data) {

export function isEqual (r, name, actual, expected) {
return (actual === expected) ||
(console.warn(`Unexpected ${name} for ${r.request.url}\n\t-expected:\t${expected}\n\t+actual:\t${actual}\n`) && false)
(console.warn(`Unexpected ${name} for ${r.request.url}. Expected: ${expected} / Actual: ${actual}`) && false)
}

0 comments on commit 1134f3b

Please sign in to comment.