Skip to content

Commit 4970819

Browse files
committed
Update tests for theme and mask colours
1 parent 72d5564 commit 4970819

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
@@ -179,7 +179,7 @@ describe('Template', () => {
179179
it('has a mask-icon', () => {
180180
const $icon = document.querySelector('link[rel="mask-icon"]')
181181

182-
expect($icon).toHaveAttribute('color', '#0b0c0c')
182+
expect($icon).toHaveAttribute('color', '#1d70b8')
183183
expect($icon).toHaveAttribute(
184184
'href',
185185
'/assets/images/govuk-icon-mask.svg'
@@ -247,11 +247,11 @@ describe('Template', () => {
247247
})
248248

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

254-
expect($themeColor).toHaveAttribute('content', '#0b0c0c')
254+
expect($themeColor).toHaveAttribute('content', '#1d70b8')
255255
})
256256

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

0 commit comments

Comments
 (0)