mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
test: tighten messaging helper assertions
This commit is contained in:
@@ -9,7 +9,6 @@ import {
|
||||
describe("vitest process group helpers", () => {
|
||||
function getListenerSet(listeners: Map<string, Set<() => void>>, event: string) {
|
||||
const set = listeners.get(event);
|
||||
expect(set).toBeDefined();
|
||||
if (!set) {
|
||||
throw new Error(`expected ${event} listener set`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user