Skip to content

Commit

Permalink
test: update header snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
yld-weng committed Nov 24, 2021
1 parent 484bf99 commit a53c2a9
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions src/components/shared/__tests__/__snapshots__/header.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,17 @@ exports[`Header renders correctly 1`] = `
mobile="true"
type="Link"
>
InfoVis
Visualisation
<span
className="absolute top-0 right-0 bg-red-500 text-white rounded-md text-xs -mr-2"
style={
Object {
"padding": "2px 5px",
}
}
>
new
</span>
</a>
<a
className="sc-crHmcD ixmMsE transition duration-300 relative text-gray-600 hover:text-brand-blue block w-full text-2xl transition duration-500 ease-in-out md:mr-2 no-underline px-4 py-1"
Expand Down Expand Up @@ -351,7 +361,19 @@ exports[`Header renders correctly 1`] = `
href="/visualisation"
type="Link"
>
InfoVis
Visualisation
<span
className="invisible group-hover:visible absolute top-0 right-0 bg-red-500 text-white rounded-md -mr-3"
style={
Object {
"fontSize": ".68rem",
"lineHeight": "1rem",
"padding": "1px 3px",
}
}
>
new
</span>
</a>
<a
className="sc-crHmcD ixmMsE transition duration-300 relative text-gray-100 group-hover:text-black hover:text-brand-blue undefined transition duration-500 ease-in-out md:mr-2 no-underline px-4 py-1"
Expand Down

0 comments on commit a53c2a9

Please sign in to comment.