UNPKG
master-room
Version:
latest (0.3.1)
0.3.1
0.1.1
0.1.0
0.0.10
0.0.1
chat room for client* <=> 1master
github.com/zhangaz1/master-room
zhangaz1/master-room
master-room
/
gulp
/
tasks
/
test
/
nodeTest.js
19 lines
(15 loc)
•
299 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
'use strict'
; gulp.
task
(
'nodeTest'
,
cb
=>
{
return
gulp .
src
(config.
test
.
src
) .
pipe
(plugins.
mocha
()) .
on
(
'error'
,
function
(
) {
console
.
log
(
arguments
); }) .
on
(
'end'
,
function
(
err
) {
if
(err) {
console
.
log
(err); }
// cb(null); // duplicate end
}); });