[openstreetmap/openstreetmap-website] Re-enable javascript unit tests (#2595)

Andy Allan notifications at github.com
Tue Apr 21 09:31:14 UTC 2020


In 62247da244740d6d79e8ea8e29a710ce6ccc8e1b the last traces of [konacha](https://github.com/jfirebaugh/konacha) were removed, which means that the contents of `test/javascripts` is being ignored.

We can test some of our javascript indirectly using the system tests, but that's quite different from more unit-test-y stuff that was originally written with konacha.

I have no experience of doing this kind of tests in Rails, and the abandonment of konacha suggests it's not the approach that most people are taking anyway! With rails 6, and the deeper integration of more javascripty things (like yarn), we should find out what the best way to run these tests are, and refactor as necessary.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2595
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200421/43c2b3b1/attachment.htm>


More information about the rails-dev mailing list