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

Version Path
vulcan-0.8.2 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.8.1 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.8.0 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.7.2 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.7.1 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.7.0 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.6.1 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.6.0 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.5.0 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.4.0 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.3.0 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.2.5 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.2.4 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.2.3 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.2.2 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.2.1 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.2.0 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.1.6 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.1.5 server/node_modules/knox/support/expresso/test/serial/async.test.js
vulcan-0.1.4 server/node_modules/knox/support/expresso/test/serial/async.test.js