UNPKG
pm2-web
Version:
latest (2.1.3)
2.1.3
2.1.2
2.1.1
2.1.0
2.0.0
1.7.8
1.7.7
1.7.6
1.7.5
1.7.4
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.0
1.4.4
1.4.2
1.4.1
1.4.0
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
0.0.2
0.0.1
A web based monitor for PM2
github.com/achingbrain/pm2-web
achingbrain/pm2-web
pm2-web
/
test
/
unit
/
ui
/
filters
/
humaniseTest.js
12 lines
(9 loc)
•
259 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
var
humanise =
require
(__dirname +
"/../../../../ui/filters/humanise"
), sinon =
require
(
"sinon"
), should =
require
(
"should"
);
module
.
exports
= {
"Should humanise date"
:
function
(
test
) {
humanise
()(
new
Date
()).
should
.
be
.
a
.
string
; test.
done
(); } };