Files: 8f4b43a09aab9801bf28987edd59c2e366180327 / test / test-79-npm / sinon / sinon.js
131 bytesRaw
1 | ; |
2 | |
3 | var sinon = require('sinon'); |
4 | var callback = sinon.spy(); |
5 | callback(); |
6 | if (callback.called) { |
7 | console.log('ok'); |
8 | } |
9 |
Built with git-ssb-web