reactlynx-testing-library / waitFor
function waitFor<T>(callback: () => T | Promise<T>, options?: waitForOptions): Promise<T>