chore: fix tests #502
Annotations
5 errors
src/tests/managers/PlayerManager.test.ts > PlayerManager.get (with username) returns Player class:
src/lib/managers/PlayerManager.ts#L22
Error: PlayerManager.fetch: Required option "identifier" is missing
❯ PlayerManager.fetch src/lib/managers/PlayerManager.ts:22:26
❯ src/tests/managers/PlayerManager.test.ts:6:38
|
src/tests/managers/PlayerManager.test.ts > PlayerManager.get (with uuid) returns Player class:
src/lib/managers/PlayerManager.ts#L22
Error: PlayerManager.fetch: Required option "identifier" is missing
❯ PlayerManager.fetch src/lib/managers/PlayerManager.ts:22:26
❯ src/tests/managers/PlayerManager.test.ts:11:38
|
src/tests/managers/PlayerManager.test.ts > PlayerManager.getRecentlyPlayedGames returns recently played games:
src/lib/managers/PlayerManager.ts#L34
Error: PlayerManager.getRecentlyPlayedGames: Required option "identifier" is missing
❯ PlayerManager.getRecentlyPlayedGames src/lib/managers/PlayerManager.ts:34:26
❯ src/tests/managers/PlayerManager.test.ts:16:37
|
src/tests/managers/PlayerManager.test.ts > PlayerManager.getStatus returns current online status:
src/lib/managers/PlayerManager.ts#L46
Error: PlayerManager.getStatus: Required option "identifier" is missing
❯ PlayerManager.getStatus src/lib/managers/PlayerManager.ts:46:26
❯ src/tests/managers/PlayerManager.test.ts:21:38
|
build
Process completed with exit code 1.
|