UNPKG

525 BTypeScriptView Raw
1// 在单元测试场景下的日志打印接口封装。
2declare function zlog(...args): void
3
4// 单元测试场景下调用entries接口类似于postman的方法执行接口请求。
5declare function zpost(path: string, param?: Object): Promise<any>
6
7// 远程静态类方法调用方法 path格式为:模块绝对路径/静态类/静态方法。
8// 被调用的静态类格式必须要为:async方法定义、输入参数为PlainObject普通对象。
9declare function zcall(path: string, param?: Object): Promise<any>
\No newline at end of file