0.0.7 • Published 5 years ago

govuk-frontend-template-spec v0.0.7

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

govuk-frontend-template-spec

A set of Jest unit tests, extracted from govuk-frontend, to ensure ports meet the same template tests.

Usage

npm install -d govuk-frontend-template-spec

See https://github.com/penx/govuk-frontend-react and search for govuk-frontend-template-spec for more details.

Where is the code?

If using the GitHub repository, the code is extracted from govuk-frontend by running npm run build. This is then included in the bundle when publishing to npm.

Why?

govuk-frontend provides templates using nunjucks. I'm creating a set of React components that aim to have feature parity with govuk-frontend and wanted to extract the govuk-frontend unit tests to validate this. This may also be useful for ports of the templates to other languages.

Also see:

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago