UNPKG

shamjs

Version:
15 lines (14 loc) 333 B
var expect = require('expect.js') var sham = require('./index') module.exports = { gabble: function (fn, count) { if (typeof count === 'undefined') { count = 200 } for (var i = 0; i < count; i++) { if (fn() === false) { i = 99999999 } } } }