@angular-package/testing
Version:
Jasmine unit testing wrapper with additional custom testing features.
13 lines (12 loc) • 663 B
TypeScript
import { Expect } from '../expect.class';
import { TestingExpect } from '../testing-expect.class';
import { TestingExpectToHaveBeen } from './testing-expect-to-have-been.class';
import { ExpectType } from '../../type/expect-type.type';
export declare class TestingExpectToHave extends Expect {
get been(): TestingExpectToHaveBeen;
private toHaveBeen;
constructor(expect?: TestingExpect);
class<T>(actual: ExpectType<T>, expected: string, expectationFailOutput?: any): this;
size<T>(actual: ExpectType<T>, expected: number, expectationFailOutput?: any): this;
spyInteractions<T>(actual: ExpectType<T>, expectationFailOutput?: any): this;
}