Update test/test-utils/matchers/to-have-arena-tag.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Bertie690 2025-08-03 13:27:26 -04:00 committed by GitHub
parent 641f5f5b97
commit dbea701d6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,7 +37,7 @@ export function toHaveArenaTag<T extends ArenaTagType>(
if (!received.scene?.arena) {
return {
pass: false,
message: () => `Expected GameManager.${received.scene ? "scene" : "scene.arena"} to be defined!`,
message: () => `Expected GameManager.${!received.scene ? "scene" : "scene.arena"} to be defined!`,
};
}