Javascript Unit Testing

What is your favorite way of unit testing Javascript in your Django project?

Django makes it relatively easy to build integration tests with Selenium and a headless browser. This works great when a project is small, but is cumbersome. Both in syntax and performance, using selenium is not a great solution for Javascript unit tests.

My Not-So-Great Solution
What I’ve begun doing is separating out javascript modules into separate repositories that are tested with standard node tools (jest, etc). It gives me all the benefits of a Javascript test framework (speed, easy mocking, etc). I install these modules with django-node-assets.

This works nicely for some components that are easily separable, but ends up being a pain in many cases.

What are your thoughts on Javascript unit testing for a Django project with hundreds of integration tests and the potential for thousands of Javascript unit tests?