Comparing version 0.0.9 to 0.1.0
0.1.0 / 2012-12-01 | ||
================== | ||
* fixed restore not effect on http(s) | ||
0.0.9 / 2012-11-28 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -113,10 +113,2 @@ /*! | ||
/** | ||
* remove all mock effects. | ||
*/ | ||
exports.restore = function () { | ||
muk.restore(); | ||
return this; | ||
}; | ||
exports.http = {}; | ||
@@ -316,2 +308,12 @@ exports.https = {}; | ||
return this; | ||
} | ||
} | ||
/** | ||
* remove all mock effects. | ||
*/ | ||
exports.restore = function () { | ||
http.request = http.__sourceRequest; | ||
https.request = https.__sourceRequest; | ||
muk.restore(); | ||
return this; | ||
}; |
{ | ||
"name": "mm", | ||
"version": "0.0.9", | ||
"version": "0.1.0", | ||
"description": "mock mate, mock http request, fs access and so on.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
14747
283