Skip to content

Commit

Permalink
feat: Add actual and expected fields to the return value of toBeOneOf
Browse files Browse the repository at this point in the history
  • Loading branch information
黄振明 committed Jul 4, 2024
1 parent 115ed86 commit 75a9f50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/matchers/toBeOneOf.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ export function toBeOneOf(actual, expected) {
` ${printExpected(expected)}\n` +
'Received:\n' +
` ${printReceived(actual)}`,
actual,
expected,
};
}

0 comments on commit 75a9f50

Please # to comment.