Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3
import { findByText } from '@testing-library/dom'; export const waitForText = async (text, container = document) => findByText(container, text);