-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Input #8
Input #8
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8 +/- ##
===========================================
- Coverage 100% 61.42% -38.58%
===========================================
Files 9 13 +4
Lines 43 70 +27
Branches 10 14 +4
===========================================
Hits 43 43
- Misses 0 23 +23
- Partials 0 4 +4
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #8 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 9 13 +4
Lines 43 56 +13
Branches 10 15 +5
=====================================
+ Hits 43 56 +13
Continue to review full report at Codecov.
|
@@ -0,0 +1,6 @@ | |||
const { toHaveNoViolations } = require('jest-axe'); | |||
const { setRender } = require('govuk-frontend-template-spec/lib/jest-helpers'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setRender should be exported from govuk-frontend-template-spec root
govuk-frontend
viagovuk-frontend-template-spec
Note: At the moment, Jest snapshots are manually copied across. When Jest 0.24 comes out there will be a feature to allow the snapshot test location to be configured (jestjs/jest#6143), so will keep the manual process for now, with the aim to load them in from node_modules when 0.24 is out.