Page MenuHomeSoftware Heritage

Add unit tests for Javascript code
Closed, WontfixPublic


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.
anlambert added a comment.EditedMay 28 2019, 4:19 PM

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

anlambert closed this task as Wontfix.Jun 7 2019, 6:08 PM
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.