Test helpers for applications that use Dust. In :manual test mode, Dust uses a memory cache and no server connection. Use these functions to control Dust state in tests.
Summary
Functions
Build an event map for testing subscriber modules in isolation.
Fire an event through the subscriber pipeline as if the server sent it. Synchronous.
Populate the cache with known state. get/enum will return this data.
Control what Dust.status/1 returns.
Functions
Build an event map for testing subscriber modules in isolation.
Fire an event through the subscriber pipeline as if the server sent it. Synchronous.
Populate the cache with known state. get/enum will return this data.
Control what Dust.status/1 returns.