UNPKG
newkit-cli
Version:
latest (0.5.3)
0.5.3
0.5.2
0.5.1
0.5.0
0.3.0
0.2.0
0.1.1
0.1.0
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
Newkit cli tools.
newkit-cli
/
test
/
update.test.js
11 lines
(10 loc)
•
281 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
'use strict'
;
let
coffee =
require
(
'coffee'
);
describe
(
'test nc update'
,
function
(
) {
this
.
timeout
(
10000
);
it
(
'should stdout error'
,
function
(
done
) { coffee.
fork
(
'index'
, [
'update'
,
'xx'
]) .
expect
(
'stdout'
,
/Invalid version,/
) .
end
(done); }); });