Clone HtmlSpecFilter and HtmlReporter in preparation for backward-incompatible changes

This commit is contained in:
Steve Gravrock
2025-10-07 20:38:01 -07:00
parent bd89ef66c8
commit 77c3b8b07e
12 changed files with 2143 additions and 95 deletions

View File

@@ -53,7 +53,7 @@
* ## Reporters
* The `HtmlReporter` builds all of the HTML UI for the runner page. This reporter paints the dots, stars, and x's for specs, as well as all spec names and all failures (if any).
*/
const htmlReporter = new jasmine.HtmlReporter({
const htmlReporter = new jasmine.HtmlReporterV2({
env: env,
navigateWithNewParam: function(key, value) {
return queryString.navigateWithNewParam(key, value);
@@ -77,7 +77,7 @@
/**
* Filter which specs will be run by matching the start of the full name against the `spec` query param.
*/
const specFilter = new jasmine.HtmlSpecFilter({
const specFilter = new jasmine.HtmlSpecFilterV2({
filterString: function() {
return queryString.getParam('spec');
}