UNPKG

@angular-package/testing

Version:

Jasmine unit testing wrapper with additional custom testing features.

14 lines (13 loc) 1.15 kB
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 TestingToBeGreaterThan<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); toBeGreaterThan<T extends number>(actual: ExpectType<T>, expected: number, expectation?: string, expectationFailOutput?: any, execute?: boolean): this; toBeGreaterThanOrEqual<T extends number>(actual: ExpectType<T>, expected: number, expectation?: string, expectationFailOutput?: any, execute?: boolean): this; }