1 | var parallel = require('../')
|
2 | var test = require('tape')
|
3 |
|
4 | test('empty tasks array', function (t) {
|
5 | t.plan(1)
|
6 |
|
7 | parallel([], function (err) {
|
8 | t.error(err)
|
9 | })
|
10 | })
|
11 |
|
12 | test('empty tasks array and no callback', function (t) {
|
13 | parallel([])
|
14 | t.pass('did not throw')
|
15 | t.end()
|
16 | }) |
\ | No newline at end of file |