Skip to content

Commit e2ad78d

Browse files
committed
Update tests for theme and mask colours
1 parent e5e30fe commit e2ad78d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/govuk-frontend/src/govuk/template.jsdom.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ describe('Template', () => {
153153
it('has a mask-icon', () => {
154154
const $icon = document.querySelector('link[rel="mask-icon"]')
155155

156-
expect($icon).toHaveAttribute('color', '#0b0c0c')
156+
expect($icon).toHaveAttribute('color', '#1d70b8')
157157
expect($icon).toHaveAttribute(
158158
'href',
159159
'/assets/images/govuk-icon-mask.svg'
@@ -221,11 +221,11 @@ describe('Template', () => {
221221
})
222222

223223
describe('<meta name="theme-color">', () => {
224-
it('has a default content of #0b0c0c', () => {
224+
it('has a default content of #1d70b8', () => {
225225
replacePageWith(renderTemplate('govuk/template.njk'))
226226
const $themeColor = document.querySelector('meta[name="theme-color"]')
227227

228-
expect($themeColor).toHaveAttribute('content', '#0b0c0c')
228+
expect($themeColor).toHaveAttribute('content', '#1d70b8')
229229
})
230230

231231
it('can be overridden using themeColor', () => {

0 commit comments

Comments
 (0)