diff --git a/packages/volto/src/helpers/Html/Html.test.jsx b/packages/volto/src/helpers/Html/Html.test.jsx
index b3926bdcc2..981e4d0b2a 100644
--- a/packages/volto/src/helpers/Html/Html.test.jsx
+++ b/packages/volto/src/helpers/Html/Html.test.jsx
@@ -20,6 +20,9 @@ jest.mock('../Helmet/Helmet', () => ({
script: {
toComponent: () => '',
},
+ style: {
+ toComponent: () => '',
+ },
htmlAttributes: {
toComponent: () => ({
lang: 'en',
diff --git a/packages/volto/src/helpers/Html/__snapshots__/Html.test.jsx.snap b/packages/volto/src/helpers/Html/__snapshots__/Html.test.jsx.snap
index 08d9709f22..09060766e3 100644
--- a/packages/volto/src/helpers/Html/__snapshots__/Html.test.jsx.snap
+++ b/packages/volto/src/helpers/Html/__snapshots__/Html.test.jsx.snap
@@ -44,7 +44,7 @@ exports[`Html renders a html component 1`] = `
/>