releaseKeptViews function

Module @runic-artifex/views/mock in @runic-artifex/views 0.23.0

function releaseKeptViews(): number;

Releases at once the clients that framework bindings (useView, injectView, createViewController, preloadView) keep for their keepAlive period in the current instance (the page's, or that of the RunicInstance.run it is called in), and returns how many it released. For a suite that keeps one Bridge across tests: call it after each test, so the next test's bindings connect again instead of taking over a client of the previous one. A suite that installs a new mock Bridge per test does not need it.