Sinon provides this functionality through the use of Sandboxes, which can be used a couple ways: // manually create and restore the sandbox var sandbox; ...
確定! 回上一頁