diff --git a/test/doctool/test-doctool-html.js b/test/doctool/test-doctool-html.js
index 3129dcc5d75e79..e3d0d4251dcc7d 100644
--- a/test/doctool/test-doctool-html.js
+++ b/test/doctool/test-doctool-html.js
@@ -44,7 +44,7 @@ function toHTML({ input, filename, nodeVersion, versions }) {
.use(html.preprocessText, { nodeVersion })
.use(html.preprocessElements, { filename })
.use(html.buildToc, { filename, apilinks: {} })
- .use(remark2rehype, { allowDangerousHTML: true })
+ .use(remark2rehype, { allowDangerousHtml: true })
.use(raw)
.use(htmlStringify)
.processSync(input);