retry-assert (npm): Retry a function until or while it passes an assertion
Keywords: retry|assert|test|async|wait|until|ensure|javascript