UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

19 lines (18 loc) 515 B
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