UNPKG

@angular-package/testing

Version:

Jasmine unit testing wrapper with additional custom testing features.

14 lines (13 loc) 730 B
import { ExpectType } from '../type'; export declare class TestingExpect { #private; get already(): this; get not(): this; expect<T>(actual: ExpectType<T>, expectationFailOutput?: any, e?: jasmine.Matchers<ExpectType<T>>): jasmine.Matchers<ExpectType<T>>; protected expectation<T>(actual: ExpectType<T>, callbackfn: (matchers: jasmine.Matchers<ExpectType<T>>) => any, expectationFailOutput?: any): this; expectAsync<T, U>(actual: T | PromiseLike<T>, expectationFailOutput?: any, not?: boolean, already?: boolean, e?: jasmine.AsyncMatchers<T, unknown>): jasmine.AsyncMatchers<T, U>; getAlready(): boolean; getNot(): boolean; setAlready(already: boolean): this; setNot(not: boolean): this; }