UNPKG

sinon-express-mock

Version:

Simple request and response mock objects to pass into Express routes when testing using Sinon.

49 lines (48 loc) 1.04 kB
{ "name": "sinon-express-mock", "version": "2.2.1", "description": "Simple request and response mock objects to pass into Express routes when testing using Sinon.", "main": "lib/index.js", "directories": { "test": "test" }, "scripts": { "build": "babel -d lib src", "test": "mocha" }, "repository": { "type": "git", "url": "git+https://github.com/danawoodman/sinon-express-mock.git" }, "bugs": { "url": "https://github.com/danawoodman/sinon-express-mock/issues" }, "homepage": "https://github.com/danawoodman/sinon-express-mock#readme", "keywords": [ "express", "mock", "test", "request", "response", "req", "res", "spec", "mocha", "sinon", "spy" ], "author": { "name": "Dana Woodman", "email": "dana@danawoodman.com", "url": "danawoodman.com" }, "license": "MIT", "peerDependencies": { "sinon": "*" }, "devDependencies": { "babel-cli": "6.2.0", "babel-preset-es2015": "6.1.18", "sinon": "*" } }