You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if you use the http://localhost/tests.html?grep=MySuite format for limiting Mocha tests in the browser, all the suite/test links in the report get additional grep= params. Clicking on them retains older (ignored) values in the URL:
Currently, if you use the
http://localhost/tests.html?grep=MySuite
format for limiting Mocha tests in the browser, all the suite/test links in the report get additionalgrep=
params. Clicking on them retains older (ignored) values in the URL:http://localhost/tests.html?grep=MySuite&grep=MySuite%20%23someMethod
Switching back to the higher suite will tack on yet another param:
http://localhost/tests.html?grep=MySuite&grep=MySuite%20%23someMethod&grep=MySuite
Ideally, switching to a new
grep
setting should clear the existing one in the URL. I'll submit a PR which implements this desired behavior.The text was updated successfully, but these errors were encountered: