Skip to content

Commit

Permalink
feat(cli): improve printing of 'actual' values in t.ok and t.notOk
Browse files Browse the repository at this point in the history
Closes #1836
  • Loading branch information
dirkdev98 committed Jun 3, 2022
1 parent 7d9119a commit 8f5212d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/testing/runner.js
Expand Up @@ -162,7 +162,7 @@ function ok(state, value, message) {
type: "ok",
passed,
meta: {
actual: passed,
actual: value,
expected: true,
},
message,
Expand All @@ -181,7 +181,7 @@ function notOk(state, value, message) {
type: "notOk",
passed,
meta: {
actual: passed,
actual: value,
expected: false,
},
message,
Expand Down

0 comments on commit 8f5212d

Please sign in to comment.