☕️ Classic, reliable, trusted test framework for Node.js and the browser
support escaped spaces in cli options
Adam Gruber9e7056dc599f
diff --git a/bin/options.js b/bin/options.jsindex 206e233c..6e12d516 100644--- a/bin/options.js+++ b/bin/options.js@@ -21,8 +21,12 @@ function getOptions() {try {var opts = fs.readFileSync(optsPath, 'utf8')+ .replace(/\\\s/g, '%20').split(/\s/)- .filter(Boolean);+ .filter(Boolean)+ .map(function(value) {+ return value.replace(/%20/g, ' ');+ });process.argv = process.argv.slice(0, 2)