allowDeaths

suspend fun <T> allowDeaths(block: suspend () -> T): T(source)

Runs block and lets watched apps die during it: those deaths are handled, so they fail no test and explain no later failure. Nothing else changes: the block's value or exception comes through as it is, including a command's CommandException for a death. For monkey and stress sections; appDeaths lists what died.