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 {