bloody-testserver
v0.1.3
Published
node/express test server, with customisable mocks
Downloads
5
Readme
testserver
install
$ npm install -g bloody-testserver
run
$ bloodyserver [port=8080]
mocks
If you need to mock an API, use a Bloodymock.js
file in your directory :
module.exports = function(app){
app.get("/foo", function(req, res){
res.status(405)
res.end("")
})
}