Add unit tests for Javascript code
The frontend part of swh-web
lacks unit testing for custom Javascript code.
We should add some to ensure no regression is introduced on the archive web browsing features.
This task is here to track this work.
Migrated from T1769 (view on Phabricator)