govuk_frontend_alpha
govuk_frontend_alpha copied to clipboard
Add integration testing for packaged nunjucks macros
Raised in https://github.com/alphagov/govuk_frontend_alpha/pull/123
We're missing testing of the packaged macro output (all in one file), if a bug is introduced in the package step then it's not caught in any automated testes.
Fix by adding an integration test against the packaged output, by importing that in to a nunjucks scope and calling the component.