first commit

This commit is contained in:
Owen LeJeune
2018-03-07 17:18:40 -05:00
commit dfa77bc52a
403 changed files with 52076 additions and 0 deletions

18
node_modules/backo2/test/index.js generated vendored Normal file
View File

@@ -0,0 +1,18 @@
var Backoff = require('..');
var assert = require('assert');
describe('.duration()', function(){
it('should increase the backoff', function(){
var b = new Backoff;
assert(100 == b.duration());
assert(200 == b.duration());
assert(400 == b.duration());
assert(800 == b.duration());
b.reset();
assert(100 == b.duration());
assert(200 == b.duration());
})
})