console-fail-test
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -48,3 +48,3 @@ { | ||
}, | ||
"version": "0.1.7" | ||
"version": "0.1.8" | ||
} |
@@ -32,3 +32,3 @@ # console-fail-test | ||
Test frameworks that are ✨ auto-detectable can be supported by running `console-fail-test/setup.js` before tests. | ||
Test frameworks that are ✨ auto-detectable can be supported by just running `console-fail-test/setup.js` before tests. | ||
For others, use the Node API with their API request: | ||
@@ -35,0 +35,0 @@ |
@@ -20,5 +20,3 @@ "use strict"; | ||
const formatComplaintLineArg = (arg) => { | ||
const text = JSON.stringify(arg) || JSON.stringify(`${arg}`); | ||
const endlineMatch = text.match(/\n|(\\n)/); | ||
return endlineMatch === null ? text : `${text.substring(0, endlineMatch.index)}...`; | ||
return JSON.stringify(arg) || JSON.stringify(`${arg}`); | ||
}; | ||
@@ -25,0 +23,0 @@ exports.formatComplaintLineArg = formatComplaintLineArg; |
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
471729
616