pierrejacques / IPA.js

Interface manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

# guarantee Type issue

pierrejacques opened this issue · comments

guarantee一个type,不需要这个type必填的。所以mock的时候可以出现,但是guarantee的时候如果是undefined就应该不予处理。

事实上,必填的type似乎是更常用的场景,这值得调研

已处理:
对type策略,guarantee返回'', 0, false, [], {},这些,mock不变
default策略不变