From 6667a4230102c9044363338889931d3bc766eb21 Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Wed, 22 Oct 2025 16:36:39 -0700 Subject: [PATCH] Docs: Fix HtmlReporterV2 ctor example --- lib/jasmine-core/jasmine-html.js | 2 +- src/html/HtmlReporterV2.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jasmine-core/jasmine-html.js b/lib/jasmine-core/jasmine-html.js index 8216ae9c..eb70d6e7 100644 --- a/lib/jasmine-core/jasmine-html.js +++ b/lib/jasmine-core/jasmine-html.js @@ -958,7 +958,7 @@ jasmineRequire.HtmlReporterV2 = function(j$) { * const reporter = new jasmine.HtmlReporterV2({ * env, * urls, - * container: document.body + * getContainer: () => document.body * }); */ class HtmlReporterV2 { diff --git a/src/html/HtmlReporterV2.js b/src/html/HtmlReporterV2.js index 7660ef0f..6a114105 100644 --- a/src/html/HtmlReporterV2.js +++ b/src/html/HtmlReporterV2.js @@ -15,7 +15,7 @@ jasmineRequire.HtmlReporterV2 = function(j$) { * const reporter = new jasmine.HtmlReporterV2({ * env, * urls, - * container: document.body + * getContainer: () => document.body * }); */ class HtmlReporterV2 {