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
Thank you for the very useful testing framework! I am relying on it to test some complex frontend code.
I have one issue with the links to suites. To the right of every test Mocha displays a link to a page that runs just that test (a triangle within a circle). The URL is incorrect though. E.g. if I run the /models tests and then want to test a Book model it will link to /models/book_spec/models/?grep=Book. Instead it should be /models/book_spec/?grep=Book. I think it has to do with the grepString variable in konacha/parent.js file. Besides storing the ?grep=Book part it also has the current path: /models/?grep=Book. This part needs to be filtered out. Adding
Hello.
Thank you for the very useful testing framework! I am relying on it to test some complex frontend code.
I have one issue with the links to suites. To the right of every test Mocha displays a link to a page that runs just that test (a triangle within a circle). The URL is incorrect though. E.g. if I run the
/models
tests and then want to test a Book model it will link to/models/book_spec/models/?grep=Book
. Instead it should be/models/book_spec/?grep=Book
. I think it has to do with thegrepString
variable inkonacha/parent.js
file. Besides storing the?grep=Book
part it also has the current path:/models/?grep=Book
. This part needs to be filtered out. Addingfixes the problem for me.
Am I the only one with this problem? If not should I make a PR?
Thank you!
The text was updated successfully, but these errors were encountered: