1 | import Suite, { SuiteProperties, TestLifecycleFunction } from './Suite';
|
2 | import BenchmarkTest from './BenchmarkTest';
|
3 | export default class BenchmarkSuite extends Suite implements BenchmarkSuiteProperties {
|
4 | afterEachLoop: TestLifecycleFunction | undefined;
|
5 | beforeEachLoop: TestLifecycleFunction | undefined;
|
6 | tests: (BenchmarkSuite | BenchmarkTest)[];
|
7 | constructor(options: BenchmarkSuiteOptions);
|
8 | }
|
9 | export interface BenchmarkSuiteProperties extends SuiteProperties {
|
10 | beforeEachLoop: TestLifecycleFunction | undefined;
|
11 | afterEachLoop: TestLifecycleFunction | undefined;
|
12 | }
|
13 | export declare type BenchmarkSuiteOptions = Partial<BenchmarkSuiteProperties> & {
|
14 | name: string;
|
15 | parent: Suite;
|
16 | tests?: (BenchmarkSuite | BenchmarkTest)[];
|
17 | };
|