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(() => {
process.env = {
...process.env,
BANNER: 'testing'
BANNER: 'testing',
BUILD_ID: 'test-id'
};
});

View File

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