@angular-package/testing
Version:
Jasmine unit testing wrapper with additional custom testing features.
14 lines (13 loc) • 1.14 kB
TypeScript
import { TestingCore } from '../testing-core.abstract';
import { TestingDescribe } from '../testing-describe.class';
import { TestingExpectation } from '../testing-expectation.class';
import { TestingIt } from '../testing-it.class';
import { TestingItToBe } from '../it';
import { CounterConfig, ExpectType } from '../../type';
import { ExecutableTests } from '../../interface/executable-tests.interface';
export declare class TestingToBeLessThan<Descriptions extends string = string, Expectations extends string = string> extends TestingCore<Descriptions, Expectations> {
protected toBe: TestingItToBe;
constructor(allowDescribe?: boolean, allowIt?: boolean, executable?: ExecutableTests, counter?: CounterConfig, testingDescribe?: TestingDescribe, testingIt?: TestingIt, testingExpectation?: TestingExpectation);
toBeLessThan<T extends number>(actual: ExpectType<T>, expected: number, expectation?: string, expectationFailOutput?: any, execute?: boolean): this;
toBeLessThanOrEqual<T extends number>(actual: ExpectType<T>, expected: number, expectation?: string, expectationFailOutput?: any, execute?: boolean): this;
}