You can use sinon a stand alone library for decorating functions in spies or ... To learn more about Spies see sinon's documentation here ...
確定! 回上一頁