UNPKG

@memori.ai/memori-react

Version:

[![npm version](https://img.shields.io/github/package-json/v/memori-ai/memori-react)](https://www.npmjs.com/package/@memori.ai/memori-react) ![Tests](https://github.com/memori-ai/memori-react/workflows/CI/badge.svg?branch=main) ![TypeScript Support](https

15 lines 546 B
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { render as rtlRender, } from '@testing-library/react'; import { AlertProvider, AlertViewport } from '@memori.ai/ui'; function AlertProviderWrapper({ children }) { return (_jsxs(AlertProvider, { children: [children, _jsx(AlertViewport, {})] })); } function render(ui, options) { return rtlRender(ui, { wrapper: AlertProviderWrapper, ...options, }); } export * from '@testing-library/react'; export { render }; //# sourceMappingURL=testUtils.js.map