4 lines
146 B
JavaScript
4 lines
146 B
JavaScript
![]() |
import { findByText } from '@testing-library/dom';
|
||
|
|
||
|
export const waitForText = async (text, container = document) => findByText(container, text);
|