☕️ Classic, reliable, trusted test framework for Node.js and the browser
Allow user to invert the grep pattern via the URL. e.g. ?grep=some_pattern&invert=1
Nathan Alderson142c69991a2f
diff --git a/support/tail.js b/support/tail.jsindex 3f8182b7..9b7a533b 100644--- a/support/tail.js+++ b/support/tail.js@@ -101,6 +101,7 @@ process.on = function(e, fn){var query = Mocha.utils.parseQuery(window.location.search || '');if (query.grep) mocha.grep(query.grep);+ if (query.invert) mocha.invert();return Mocha.prototype.run.call(mocha, function(){Mocha.utils.highlightTags('code');