Updating PageTemplate tests

This commit is contained in:
Jeff Avallone 2018-02-11 11:25:15 -05:00
parent 6ec546ace1
commit 90e57e26e7
2 changed files with 8 additions and 3 deletions

View File

@ -12,7 +12,8 @@ afterEach(() => {
beforeEach(() => { beforeEach(() => {
process.env = { process.env = {
...process.env, ...process.env,
BANNER: 'testing' BANNER: 'testing',
BUILD_ID: 'test-id'
}; };
}); });

View File

@ -22,7 +22,9 @@ exports[`PageTemplate rendering 1`] = `
Regexper Regexper
</title> </title>
</head> </head>
<body> <body
data-build-id="test-id"
>
<header <header
data-banner="testing" data-banner="testing"
id="main" id="main"
@ -101,7 +103,9 @@ exports[`PageTemplate rendering with title 1`] = `
- Example - Example
</title> </title>
</head> </head>
<body> <body
data-build-id="test-id"
>
<header <header
data-banner="testing" data-banner="testing"
id="main" id="main"