-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.js
55 lines (44 loc) · 975 Bytes
/
test.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*!
* coone <https://github.com/hybridables/coone>
*
* Copyright (c) 2015 Charlike Mike Reagent <@tunnckoCore> (http://www.tunnckocore.tk)
* Released under the MIT license.
*/
/* jshint asi:true */
'use strict'
var test = require('assertit')
var semver = require('semver')
test('errors', function (done) {
require('./test/errors')
done()
})
test('streams', function (done) {
require('./test/streams')
done()
})
test('promises', function (done) {
require('./test/promises')
done()
})
test('callbacks', function (done) {
require('./test/callbacks')
done()
})
test('observables', function (done) {
require('./test/observables')
done()
})
test('sync functions', function (done) {
require('./test/sync')
done()
})
test('child processes', function (done) {
require('./test/child_processes')
done()
})
if (semver.gte(process.version, '0.11.13')) {
test('generators', function (done) {
require('./test/generators')
done()
})
}