Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

changed text parameter to str

Ben Lindsey0082cc5e1a79
diff --git a/lib/reporters/teamcity.js b/lib/reporters/teamcity.js
index c857c313..48ee5b50 100644
--- a/lib/reporters/teamcity.js
+++ b/lib/reporters/teamcity.js
@@ -5,8 +5,8 @@
var Base = require('./base');
-function tc_escape(text) {
- return (text || '').replace(/'/g, "|'");
+function tc_escape(str) {
+ return (str || '').replace(/'/g, "|'");
}
/**