UNPKG

280 BJavaScriptView Raw
1var parallel = require('../')
2var test = require('tape')
3
4test('empty tasks array', function (t) {
5 t.plan(1)
6
7 parallel([], function (err) {
8 t.error(err)
9 })
10})
11
12test('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