UNPKG

@serenity-js/jasmine

Version:

Serenity/JS test runner adapter for Jasmine, enabling the use of the Screenplay Pattern in Jasmine-based test suites and leveraging Serenity/JS reporting capabilities

14 lines 386 B
/** * @see https://github.com/jasmine/jasmine-npm/blob/641c33d4765efb0486f68980a8b7d184dd797122/lib/filters/console_spec_filter.js * @package */ export class GrepSpecFilter { pattern; constructor(pattern) { this.pattern = new RegExp(pattern); } matches(specName) { return this.pattern.test(specName); } } //# sourceMappingURL=GrepSpecFilter.js.map