mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 06:53:27 +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) {
|
||||
return {
|
||||
pass: false,
|
||||
pass: this.isNot,
|
||||
message: () => "Expected to receive a non-empty Map, but received map was empty!",
|
||||
expected: expectedKey,
|
||||
actual: received,
|
||||
|
Loading…
Reference in New Issue
Block a user