Flesh out jasmine-html.js API reference

This commit is contained in:
Steve Gravrock
2025-10-15 21:50:56 -07:00
parent 2352249441
commit b6426d2414
5 changed files with 54 additions and 10 deletions

View File

@@ -1,6 +1,11 @@
jasmineRequire.HtmlSpecFilter = function(j$) {
'use strict';
/**
* @class HtmlSpecFilter
* @param options Options object. See lib/jasmine-core/boot1.js for details.
* @deprecated Use {@link HtmlReporterV2Urls} instead.
*/
function HtmlSpecFilter(options) {
j$.getEnv().deprecated(
'HtmlReporter and HtmlSpecFilter are deprecated. Use HtmlReporterV2 instead.'
@@ -18,7 +23,6 @@ jasmineRequire.HtmlSpecFilter = function(j$) {
* @function
* @param {string} specName The full name of the spec
* @returns {boolean}
* @deprcated
*/
this.matches = function(specName) {
return filterPattern.test(specName);