UNPKG
postmates
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
A node.js client for the Postmates API.
github.com/lambtron/postmates-node
lambtron/postmates-node
postmates
/
test
/
index.js
11 lines
(9 loc)
•
271 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
var
server =
require
(
'./server'
);
var
Mocha
=
require
(
'mocha'
);
var
fs =
require
(
'fs'
);
var
path =
require
(
'path'
);
var
mocha =
new
Mocha
({
reporter
:
'spec'
}); mocha.
addFile
(path.
join
(__dirname,
'tests.js'
)); mocha.
run
(
function
(
failures
){ process.
exit
(failures); });