Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Nov 11, 2024
1 parent 0ecc86c commit 7211b71
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions packages/volto/src/helpers/Html/Html.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jest.mock('../Helmet/Helmet', () => ({
script: {
toComponent: () => '',
},
style: {
toComponent: () => '',
},
htmlAttributes: {
toComponent: () => ({
lang: 'en',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ exports[`Html renders a html component 1`] = `
/>
<meta
content="yes"
name="apple-mobile-web-app-capable"
name="mobile-web-app-capable"
/>
<link
as="script"
Expand Down Expand Up @@ -136,7 +136,7 @@ exports[`Html renders a html component with apiPath present 1`] = `
/>
<meta
content="yes"
name="apple-mobile-web-app-capable"
name="mobile-web-app-capable"
/>
<link
as="script"
Expand Down

0 comments on commit 7211b71

Please sign in to comment.