Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Use local govuk_components for static’s component guide #74
Best to review 153f2a0 first.
I needed to refactor integration tests to have more static component guide tests. I've split the large component guide test into a set of files based on features in fa4344a.
See alphagov/slimmer#208 for more details
See alphagov/slimmer#208 * Update slimmer to >= 11.1.0 * Use LocalGovukComponents when on static, avoiding i18n chains and calls over the network to itself * Stub components that the dummy app would otherwise get from Slimmer (slimmer’s local resolver has no concept of a test mode as files ought to be available) * Re-include the appropriate module when running static tests as initialiser config can't recreate ApplicationController