Sha256: 896c0a4e48277f360917b0499281a0f2adcbf859624d1681539a7343b8dd112c
Contents?: true
Size: 698 Bytes
Versions: 27
Compression:
Stored size: 698 Bytes
Contents
var setup = 0, order = []; module.exports = { setup: function(done){ ++setup; done(); }, a: function(assert, done){ assert.equal(1, setup); order.push('a'); setTimeout(function(){ done(); }, 500); }, b: function(assert, done){ assert.equal(2, setup); order.push('b'); setTimeout(function(){ done(); }, 200); }, c: function(assert, done){ assert.equal(3, setup); order.push('c'); setTimeout(function(){ done(); }, 1000); }, d: function(assert){ assert.eql(order, ['a', 'b', 'c']); } };
Version data entries
27 entries across 27 versions & 2 rubygems