UNPKG

@tsdi/unit

Version:

unit testing framework, base on AOP, Ioc container

7 lines (6 loc) 271 B
import { TokenId } from '@tsdi/ioc'; import { Matchers } from 'expect'; export interface IAssertMatch<T> extends Matchers<T> { } export declare type Expect = (target: any, message?: string | Error) => IAssertMatch<any>; export declare const ExpectToken: TokenId<Expect>;