Add comprehensive test coverage for services and utilities

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-14 08:08:22 +01:00
co-authored by Claude Haiku 4.5
parent e3797f32ca
commit 57f8a54dac
23 changed files with 3519 additions and 20 deletions
+5 -1
View File
@@ -99,6 +99,10 @@ describe("Player Events Service", () => {
await initPlayerEvents();
expect(consoleSpy).toHaveBeenCalledWith(expect.stringContaining("Failed to initialize player events"));
// console.error is called with: ("Failed to initialize player events:", Error)
expect(consoleSpy).toHaveBeenCalledWith(
expect.stringContaining("Failed to initialize player events"),
expect.any(Error)
);
});
});