Tags: uber/RIBs
Tags
Introduce `TestScope.test(RibCoroutineWorker)` test helper utility. This helper utility is meant to be used in tests inside `runTest { }` blocks and should facilitate `RibCoroutineWorker` testing by automatically binding and unbinding the worker in the scope of the lambda. ``` @test fun test() = runTest { test(worker) { // Worker is bound. Make assertions } // Worker is unbound. } ```
PreviousNext