Comparing version 0.4.0 to 0.5.0
{ | ||
"name": "mock-yeah", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "An invaluable service mocking platform built on Express.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -106,2 +106,3 @@ # Mock Yeah | ||
- json (Object; optional) - JSON to include in response body. Assumes response Content-Type of `application/json`. | ||
- latency (Number/Milliseconds; optional) - Used to control the response timing of a response. | ||
- text (String; optional) - Text to include in response body. Assumes response Content-Type of `text/plain`. | ||
@@ -108,0 +109,0 @@ - type (String; optional) - Content-Type HTTP header to return with response. Proxies option to Express response method `res.type(type)`; more info here: http://expressjs.com/en/4x/api.html#res.type |
@@ -8,5 +8,7 @@ 'use strict'; | ||
after(() => mockyeah.close()); | ||
after(() => { | ||
mockyeah.close(); | ||
}); | ||
module.exports.mockyeah = mockyeah; | ||
module.exports.request = request('http://localhost:4041'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22568
452
146