Finally took some time to bootstrap unit tests for the frontend part of Software Heritage
DOM environment (jsdom) through the use of the mocha tests runner.
First implemented tests are about source code highlighting features.
To run the tests, execute the following commands in the root folder of swh-web:
$ yarn install $ yarn test
This is still a work in progress.