UNPKG

@angular-package/testing

Version:

Jasmine unit testing wrapper with additional custom testing features.

14 lines (13 loc) 1.2 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 { TestingItToBeBoolean } from '../it/testing-it-to-be-boolean.class'; import { CounterConfig, ExpectType } from '../../type'; import { ExecutableTests } from '../../interface/executable-tests.interface'; export declare class TestingToBeBoolean<Descriptions extends string = string, Expectations extends string = string> extends TestingCore<Descriptions, Expectations> { protected itToBeBoolean: TestingItToBeBoolean; constructor(allowDescribe?: boolean, allowIt?: boolean, executable?: ExecutableTests, counter?: CounterConfig, testingDescribe?: TestingDescribe, testingIt?: TestingIt, testingExpectation?: TestingExpectation); toBeBoolean<T>(actual: ExpectType<T>, expected?: jasmine.Expected<boolean>, expectation?: string, expectationFailOutput?: any, execute?: boolean): this; toBeBooleanType<T>(actual: ExpectType<T>, expected?: jasmine.Expected<boolean>, expectation?: string, expectationFailOutput?: any, execute?: boolean): this; }