Documentation Home
This page is for an older version of Jasmine (6.0).
The current stable version of Jasmine is: 6.1. You can also look at the docs for the next release: Edge

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());