-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify control data code, and add tests
For variants A and B, all browse pages will contain popular links. For variants C and Z ie the control state, only business and benefits will contain popular links. The other 14 will default to hiding popular tasks entirely - as this is the default behaviour currently live on GOV.UK This commit adds specs to highlight this, and simplifies the existing code. There is no behavioural change.
- Loading branch information
Showing
2 changed files
with
80 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters