Creates a test bus that stubs all handlers (returning { ok: true }) unless you register your own via bus.register(). All dispatches are recorded.
{ ok: true }
bus.register()
Creates a test bus that stubs all handlers (returning
{ ok: true }) unless you register your own viabus.register(). All dispatches are recorded.