mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 23:13:42 +02:00
Fixed key ssue in matchers
This commit is contained in:
parent
ebe232fd74
commit
1b6fbfda49
@ -25,7 +25,7 @@ export function toHaveKey(this: MatcherState, received: unknown, expectedKey: un
|
||||
};
|
||||
}
|
||||
|
||||
const keys = [...received.values()];
|
||||
const keys = [...received.keys()];
|
||||
const pass = this.equals(keys, expectedKey, [
|
||||
...this.customTesters,
|
||||
this.utils.iterableEquality,
|
||||
|
Loading…
Reference in New Issue
Block a user