@paalan/react-test-utils
v1.4.1
Published
React UI test utils for Paalan UI
Downloads
5
Maintainers
Readme
Paalan React UI test utils
This package contains the test utils for the Paalan React UI. This package is mainly used for testing the components.
Installation
npm install @paalan/react-test-utils
Usage
- Import the test utils from the package and use them in your project.
import { render } from '@paalan/react-test-utils';
describe('App', () => {
it('should render the App component', () => {
const { container } = render(<App />);
expect(container).toMatchSnapshot();
});
});