Skip to content

Commit

Permalink
fix: Update jest snapshot, remove withDarkMode import statement
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkmcadoo committed Jul 25, 2023
1 parent ffc1c0e commit 5395cc8
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/PageHeading.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { startCase } from 'lodash';
import Image from './Image';

import * as styles from './PageHeading.module.scss';
import withDarkMode from './withDarkMode';

const PageHeading = (props) => {
const { project } = props;
Expand Down
10 changes: 10 additions & 0 deletions src/pages/__tests__/__snapshots__/collection.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1333,6 +1333,16 @@ exports[`Data Collection Agents Page Renders correctly 1`] = `
<main
className="emotion-101"
>
<div
className="undefined
"
>
<h1>
New Relic Agents
</h1>
</div>
<div>
<header>
<h4>
Expand Down
12 changes: 12 additions & 0 deletions src/pages/__tests__/__snapshots__/external-projects.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1333,6 +1333,18 @@ exports[`External Projects Page Renders correctly 1`] = `
<main
className="emotion-101"
>
<div
className="undefined
"
>
<h1>
Projects we support
</h1>
<p>
Making it easier for everyone to instrument everything and build better software together.
</p>
</div>
<div />
</main>
<footer
Expand Down
12 changes: 12 additions & 0 deletions src/pages/__tests__/__snapshots__/oss-category.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1336,6 +1336,18 @@ exports[`OSS Category Page Renders correctly 1`] = `
<main
className="emotion-102"
>
<div
className="undefined
"
>
<h1>
New Relic Open Source Categories
</h1>
<p>
Every public repository in the New Relic and New Relic Experimental GitHub organizations leverages one of the following categories
</p>
</div>
<div
className="primary-content"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1411,6 +1411,25 @@ exports[`Adopt OpenJDK Renders correctly 1`] = `
<main
className="emotion-107"
>
<div
className="undefined undefined undefined
"
>
<div>
<img
alt="Icon for Adopt OpenJDK"
onError={[Function]}
src="../images/adopt-open-jdk-icon.jpg"
/>
</div>
<h1>
Adopt OpenJDK
</h1>
<p>
The Community and code behind the Build Farm which produces high quality, FREE OpenJDK (Java) binaries.
</p>
</div>
<div
className="primary-content"
>
Expand Down Expand Up @@ -2993,6 +3012,25 @@ exports[`Open Telemetry Page Renders correctly 1`] = `
<main
className="emotion-107"
>
<div
className="undefined undefined undefined
"
>
<div>
<img
alt="Icon for Adopt OpenJDK"
onError={[Function]}
src="../images/adopt-open-jdk-icon.jpg"
/>
</div>
<h1>
Adopt OpenJDK
</h1>
<p>
The Community and code behind the Build Farm which produces high quality, FREE OpenJDK (Java) binaries.
</p>
</div>
<div
className="primary-content"
>
Expand Down

0 comments on commit 5395cc8

Please sign in to comment.