☕️ Classic, reliable, trusted test framework for Node.js and the browser
Preserve pathname when linking to individual tests
Buck Doyle221e0360e23a
diff --git a/lib/reporters/html.js b/lib/reporters/html.jsindex 788240e4..e4737345 100644--- a/lib/reporters/html.js+++ b/lib/reporters/html.js@@ -183,7 +183,7 @@ function HTML(runner) {*/var makeUrl = function makeUrl(s) {var search = window.location.search;- return (search ? search + '&' : '?' ) + 'grep=' + encodeURIComponent(s);+ return window.location.pathname + (search ? search + '&' : '?' ) + 'grep=' + encodeURIComponent(s);};/**