Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
Fix colors in diff
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathankap committed Aug 29, 2024
1 parent f11300a commit 46caca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/reactor/tests/test.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function extendExpect(expect: ExpectStatic) {
received = received.replace(/ mocksi-modified-[^=]+="[^"]*"/g, '');

return {
message: () => `\x1B[32mexpected\x1B[0m\n\x1B[32mreceived\x1B[0m\n\n\x1B[32m${expected}\x1B[0m\n\x1B[31m${received}\x1B[0m`,
message: () => `\n\x1B[32mexpected\x1B[0m\n\x1B[31mreceived\x1B[0m\n\n\x1B[32m${expected}\x1B[0m\n\x1B[31m${received}\x1B[0m`,
pass: received === expected,
}
}
Expand Down

0 comments on commit 46caca4

Please sign in to comment.