@mysticatea/spy
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -43,2 +43,3 @@ "use strict"; | ||
reset: descriptors.reset, | ||
toString: descriptors.toString(f), | ||
}); | ||
@@ -131,2 +132,10 @@ return spy; | ||
}, | ||
toString: function (f) { | ||
return { | ||
value: function toString() { | ||
return "/* The spy of */ " + (f ? f.toString() : "function(){}"); | ||
}, | ||
configurable: true, | ||
}; | ||
}, | ||
}; | ||
@@ -133,0 +142,0 @@ function isReturned(call) { |
{ | ||
"name": "@mysticatea/spy", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Just a spy library.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
17722
199