Add comprehensive test coverage for services and utilities
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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)
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user