-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'GN-101-Fix-failing-tests' into GN-102-BNF-content
- Loading branch information
Showing
3 changed files
with
94 additions
and
80 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1,103 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Header Matches snapshot 1`] = ` | ||
<div | ||
className="header" | ||
> | ||
<header | ||
aria-label="Site header" | ||
<Fragment> | ||
<span | ||
aria-hidden="true" | ||
className={false} | ||
id="scrim" | ||
/> | ||
<div | ||
className="header" | ||
> | ||
<ul | ||
aria-label="Accessibility links" | ||
className="a11yLinks" | ||
<header | ||
aria-label="Site header" | ||
> | ||
<li> | ||
<SkipLink | ||
to="#content-start" | ||
> | ||
Skip to content | ||
</SkipLink> | ||
</li> | ||
<li> | ||
<SkipLink | ||
to="https://www.nice.org.uk/accessibility" | ||
> | ||
Accessibility help | ||
</SkipLink> | ||
</li> | ||
</ul> | ||
<div | ||
className="container" | ||
> | ||
<a | ||
aria-label="Home" | ||
className="home" | ||
href="https://www.nice.org.uk/" | ||
onClick={[Function]} | ||
<ul | ||
aria-label="Accessibility links" | ||
className="a11yLinks" | ||
> | ||
<SvgLogoFull | ||
className="icon" | ||
height={null} | ||
width={null} | ||
/> | ||
</a> | ||
<li> | ||
<SkipLink | ||
to="#content-start" | ||
> | ||
Skip to content | ||
</SkipLink> | ||
</li> | ||
<li> | ||
<SkipLink | ||
to="https://www.nice.org.uk/accessibility" | ||
> | ||
Accessibility help | ||
</SkipLink> | ||
</li> | ||
</ul> | ||
<div | ||
className="wrapper" | ||
className="container" | ||
> | ||
<div | ||
className="search" | ||
> | ||
<Search | ||
onNavigating="onNavigatingHandler" | ||
placeholder="Search NICE…" | ||
query="" | ||
skipLinkId="content-start" | ||
url="/search" | ||
/> | ||
</div> | ||
<button | ||
aria-controls="header-menu" | ||
aria-expanded={false} | ||
aria-haspopup="menu" | ||
aria-label="Expand site menu" | ||
className="mobileMenuBtn" | ||
id="header-menu-button" | ||
<a | ||
aria-label="Home" | ||
className="home" | ||
href="https://www.nice.org.uk/" | ||
onClick={[Function]} | ||
type="button" | ||
> | ||
Menu | ||
</button> | ||
<SvgLogoFull | ||
className="icon" | ||
height={null} | ||
width={null} | ||
/> | ||
</a> | ||
<div | ||
className="account" | ||
className="wrapper" | ||
> | ||
<Account | ||
accountsData={null} | ||
environment="live" | ||
isLoggedIn={false} | ||
onLoginStatusChecked={[Function]} | ||
provider="niceAccounts" | ||
/> | ||
<div | ||
className="search" | ||
> | ||
<Search | ||
onNavigating="onNavigatingHandler" | ||
placeholder="Search NICE…" | ||
query="" | ||
skipLinkId="content-start" | ||
url="/search" | ||
/> | ||
</div> | ||
<button | ||
aria-controls="header-menu" | ||
aria-expanded={false} | ||
aria-haspopup="menu" | ||
aria-label="Expand site menu" | ||
className="mobileMenuBtn" | ||
id="header-menu-button" | ||
onClick={[Function]} | ||
type="button" | ||
> | ||
Menu | ||
</button> | ||
<div | ||
className="account" | ||
> | ||
<Account | ||
accountsData={null} | ||
environment="live" | ||
isLoggedIn={false} | ||
onLoginStatusChecked={[Function]} | ||
provider="niceAccounts" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<Nav | ||
accountsLinks={null} | ||
additionalSubMenuItems={Array []} | ||
isExpanded={false} | ||
onNavigating="onNavigatingHandler" | ||
service={null} | ||
skipLinkId="content-start" | ||
/> | ||
</header> | ||
<CoronaMessage /> | ||
<OldIEMessage /> | ||
</div> | ||
<Nav | ||
accountsLinks={null} | ||
additionalSubMenuItems={Array []} | ||
handleScrim={[Function]} | ||
isExpanded={false} | ||
onNavigating="onNavigatingHandler" | ||
service={null} | ||
skipLinkId="content-start" | ||
/> | ||
</header> | ||
<CoronaMessage /> | ||
<OldIEMessage /> | ||
</div> | ||
</Fragment> | ||
`; |