Page MenuHomeSoftware Heritage

Add unit tests for Javascript code
Closed, MigratedEdits Locked


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.

Event Timeline

anlambert triaged this task as Normal priority.May 28 2019, 1:31 PM
anlambert created this task.

In order to implement the unit tests, we will need the following node modules:

anlambert claimed this task.

These tests will be redundant with the end to end ones, so closing that task and prefer to rely on using cypress for frontend testing.