mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
Update to-have-key.ts
This commit is contained in:
parent
1b6fbfda49
commit
31bb94684e
@ -18,7 +18,7 @@ export function toHaveKey(this: MatcherState, received: unknown, expectedKey: un
|
|||||||
|
|
||||||
if (received.size === 0) {
|
if (received.size === 0) {
|
||||||
return {
|
return {
|
||||||
pass: false,
|
pass: this.isNot,
|
||||||
message: () => "Expected to receive a non-empty Map, but received map was empty!",
|
message: () => "Expected to receive a non-empty Map, but received map was empty!",
|
||||||
expected: expectedKey,
|
expected: expectedKey,
|
||||||
actual: received,
|
actual: received,
|
||||||
|
Loading…
Reference in New Issue
Block a user