Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Commit 5395cc8

Browse files
committed
fix: Update jest snapshot, remove withDarkMode import statement
1 parent ffc1c0e commit 5395cc8

File tree

5 files changed

+72
-1
lines changed

5 files changed

+72
-1
lines changed

src/components/PageHeading.js

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { startCase } from 'lodash';
44
import Image from './Image';
55

66
import * as styles from './PageHeading.module.scss';
7-
import withDarkMode from './withDarkMode';
87

98
const PageHeading = (props) => {
109
const { project } = props;

src/pages/__tests__/__snapshots__/collection.spec.js.snap

+10
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,16 @@ exports[`Data Collection Agents Page Renders correctly 1`] = `
13331333
<main
13341334
className="emotion-101"
13351335
>
1336+
<div
1337+
className="undefined
1338+
"
1339+
>
1340+
<h1>
1341+
New Relic Agents
1342+
</h1>
1343+
1344+
1345+
</div>
13361346
<div>
13371347
<header>
13381348
<h4>

src/pages/__tests__/__snapshots__/external-projects.spec.js.snap

+12
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,18 @@ exports[`External Projects Page Renders correctly 1`] = `
13331333
<main
13341334
className="emotion-101"
13351335
>
1336+
<div
1337+
className="undefined
1338+
"
1339+
>
1340+
<h1>
1341+
Projects we support
1342+
</h1>
1343+
<p>
1344+
Making it easier for everyone to instrument everything and build better software together.
1345+
</p>
1346+
1347+
</div>
13361348
<div />
13371349
</main>
13381350
<footer

src/pages/__tests__/__snapshots__/oss-category.spec.js.snap

+12
Original file line numberDiff line numberDiff line change
@@ -1336,6 +1336,18 @@ exports[`OSS Category Page Renders correctly 1`] = `
13361336
<main
13371337
className="emotion-102"
13381338
>
1339+
<div
1340+
className="undefined
1341+
"
1342+
>
1343+
<h1>
1344+
New Relic Open Source Categories
1345+
</h1>
1346+
<p>
1347+
Every public repository in the New Relic and New Relic Experimental GitHub organizations leverages one of the following categories
1348+
</p>
1349+
1350+
</div>
13391351
<div
13401352
className="primary-content"
13411353
>

src/templates/__tests__/__snapshots__/external-project-page.spec.js.snap

+38
Original file line numberDiff line numberDiff line change
@@ -1411,6 +1411,25 @@ exports[`Adopt OpenJDK Renders correctly 1`] = `
14111411
<main
14121412
className="emotion-107"
14131413
>
1414+
<div
1415+
className="undefined undefined undefined
1416+
"
1417+
>
1418+
<div>
1419+
<img
1420+
alt="Icon for Adopt OpenJDK"
1421+
onError={[Function]}
1422+
src="../images/adopt-open-jdk-icon.jpg"
1423+
/>
1424+
</div>
1425+
<h1>
1426+
Adopt OpenJDK
1427+
</h1>
1428+
<p>
1429+
The Community and code behind the Build Farm which produces high quality, FREE OpenJDK (Java) binaries.
1430+
</p>
1431+
1432+
</div>
14141433
<div
14151434
className="primary-content"
14161435
>
@@ -2993,6 +3012,25 @@ exports[`Open Telemetry Page Renders correctly 1`] = `
29933012
<main
29943013
className="emotion-107"
29953014
>
3015+
<div
3016+
className="undefined undefined undefined
3017+
"
3018+
>
3019+
<div>
3020+
<img
3021+
alt="Icon for Adopt OpenJDK"
3022+
onError={[Function]}
3023+
src="../images/adopt-open-jdk-icon.jpg"
3024+
/>
3025+
</div>
3026+
<h1>
3027+
Adopt OpenJDK
3028+
</h1>
3029+
<p>
3030+
The Community and code behind the Build Farm which produces high quality, FREE OpenJDK (Java) binaries.
3031+
</p>
3032+
3033+
</div>
29963034
<div
29973035
className="primary-content"
29983036
>

0 commit comments

Comments
 (0)