@not-govuk/component-test-helpers

Helper functions for testing React components.

Usage no npm install needed!

<script type="module">
  import notGovukComponentTestHelpers from 'https://cdn.skypack.dev/@not-govuk/component-test-helpers';
</script>

README

Not Govuk - Component Test Helpers

Helper functions for testing React components.

Using this package

First install the package into your project:

npm install -S @not-govuk/component-test-helpers

Then use it in your code as follows:

import componentTestHelpers from '@not-govuk/component-test-helpers';

// WRITEME

Working on this package

Before working on this package you must install its dependencies using the following command:

pnpm install

Building

npm run build

Clean-up

npm run clean