synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
19 lines (18 loc) • 515 B
JavaScript
import { waitFor as n, screen as o } from "@testing-library/react";
async function r(e = 1) {
await n(() => {
const t = o.getAllByTestId("markdown");
expect(t).toHaveLength(e), t.forEach((a) => expect(a).not.toBeEmptyDOMElement());
});
}
async function i(e) {
await n(() => {
const t = o.getByTestId("markdown");
expect(t).toHaveTextContent(e);
});
}
export {
r as confirmMarkdownSynapseIsShown,
i as confirmMarkdownSynapseTextContent
};
//# sourceMappingURL=MarkdownSynapseUtils.js.map