Skip to content

Commit 75a9f50

Browse files
author
黄振明
committed
feat: Add actual and expected fields to the return value of toBeOneOf
1 parent 115ed86 commit 75a9f50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/matchers/toBeOneOf.js

+2
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@ export function toBeOneOf(actual, expected) {
2121
` ${printExpected(expected)}\n` +
2222
'Received:\n' +
2323
` ${printReceived(actual)}`,
24+
actual,
25+
expected,
2426
};
2527
}

0 commit comments

Comments
 (0)