Documentation Home
This page describes a pre-release version of Jasmine (6.0.0-alpha.2). There may be additional changes, including breaking changes, before the final 6.0.0 release.
The current stable version of Jasmine is 5.12.

Class: HtmlReporterV2Urls

HtmlReporterV2Urls()

Processes URLs for HtmlReporterV2.

Constructor

new HtmlReporterV2Urls()

Since:
  • 6.0.0

Methods

configFromCurrentUrl() → {Configuration}

Creates a Configuration from the current page's URL. Supported query string parameters include all those set by HtmlReporterV2 as well as spec=partialPath, which filters out specs whose paths don't contain partialPath.

Returns:
Type
Configuration
Example
const urls = new jasmine.HtmlReporterV2Urls();
env.configure(urls.configFromCurrentUrl());