Updating PageTemplate tests
This commit is contained in:
parent
6ec546ace1
commit
90e57e26e7
@ -12,7 +12,8 @@ afterEach(() => {
|
|||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
process.env = {
|
process.env = {
|
||||||
...process.env,
|
...process.env,
|
||||||
BANNER: 'testing'
|
BANNER: 'testing',
|
||||||
|
BUILD_ID: 'test-id'
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user