UNPKG

woi-react-components

Version:

This project requires NodeJS (version 18 or later) and NPM. [Node](http://nodejs.org/) and [NPM](https://npmjs.org/) are really easy to install. To make sure you have them available on your machine, try running the following command. ```sh $ npm -v &

9 lines (8 loc) 318 B
import { jsx as _jsx } from "react/jsx-runtime"; import { render, screen } from '@testing-library/react'; import App from './App'; test('renders learn react link', function () { render(_jsx(App, {})); var linkElement = screen.getByText(/learn react/i); expect(linkElement).toBeInTheDocument(); });