import Category from '../category'; import { GherkinRule, GherkinTest } from '../../parsing/gherkin-objects'; import TestTrackingEvents from '../../tracking/test-tracker'; import { RuleInnerCallback } from '../../types'; import { Global } from '@jest/types'; import Background from '../backgrounds/background'; /** * Describes a Rule implementation which actively validates * and runs its own test. This is the Rule implementation * provided by the `Feature` function. * * When executed, it behaves like a feature, collecting and * generating its scenarios/outlines then executing it. * * ActiveRules cannot be nested. */ export default class ActiveRule extends Category { #private; readonly title: string; constructor(test: GherkinTest, parsedRule: GherkinRule, callback: RuleInnerCallback, events: TestTrackingEvents, backgrounds: Background[]); execute(testGrouping: Global.DescribeBase, testFn: Global.ItBase | undefined, isSkipped: boolean, after?: import("@jest/types/build/Global").HookBase): void; }