Comparing version 1.5.1 to 1.5.2
@@ -106,3 +106,3 @@ 'use strict'; | ||
case '[object String]': | ||
return '"' + o + '"'; | ||
return '\'' + o + '\''; | ||
case '[object Function]': | ||
@@ -114,5 +114,7 @@ return o.name || 'Function'; | ||
case '[object Boolean]': | ||
return String(o); | ||
case '[object Symbol]': | ||
return 'Symbol.for(\'' + Symbol.keyFor(o) + '\')'; | ||
case '[object Error]': | ||
return String(o); | ||
return 'new ' + o.name + '(\'' + o.message + '\')'; | ||
default: | ||
@@ -119,0 +121,0 @@ // nothing |
{ | ||
"name": "spy4js", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Smart, compact and powerful spy test framework", | ||
@@ -5,0 +5,0 @@ "jest": { |
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
96596
1086