UNPKG

shortcake

Version:

Shorten your Cakefiles and fix oddities in cake.

28 lines (23 loc) 776 B
// Generated by CoffeeScript 1.7.1 var assert, exec; exec = require('executive').quiet; assert = require('chai').assert; describe('invoke', function() { it('should execute callback when tasks finishes', function(done) { return exec('shortcake invoke:callback', { cwd: __dirname }, function(err, out) { assert.deepEqual(['async1', 'async2', 'async3', ''], out.split('\n')); return done(err); }); }); return it('should execute multiple tasks in serial if called with an array', function(done) { return exec('shortcake invoke:serial', { cwd: __dirname }, function(err, out) { assert.deepEqual(['async1', 'async2', 'async3', ''], out.split('\n')); return done(err); }); }); }); //# sourceMappingURL=test.map