Skip to content

armgit / mocha

Public Imported from GitHub
0

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

ws

TJ Holowaychuk72147451f5bc
diff --git a/support/tail.js b/support/tail.js
index ddc580d1..468b37da 100644
--- a/support/tail.js
+++ b/support/tail.js
@@ -105,13 +105,13 @@ window.mocha = require('mocha');
function parse(qs) {
return utils.reduce(qs.replace('?', '').split('&'), function(obj, pair){
- var i = pair.indexOf('=')
- , key = pair.slice(0, i)
- , val = pair.slice(++i);
+ var i = pair.indexOf('=')
+ , key = pair.slice(0, i)
+ , val = pair.slice(++i);
- obj[key] = decodeURIComponent(val);
- return obj;
- }, {});
+ obj[key] = decodeURIComponent(val);
+ return obj;
+ }, {});
}
/**