Sinon 具有独立的spies, stub, mock功能, Sinon 并不是独立的测试框架, ... call save once', function() { var save = sinon.spy(Database, 'save'); ...
確定! 回上一頁