decidim-vocdoni / decidim-module-vocdoni

(WIP) A module for Decidim that brings an elections component based on the Vocdoni SDK and API
GNU Affero General Public License v3.0
8 stars 0 forks source link

Migrate JavaScript tests to Jest #81

Open andreslucena opened 8 months ago

andreslucena commented 8 months ago

Comes from this comment Related to https://github.com/decidim-vocdoni/decidim-module-vocdoni/pull/80

Currently we have tests that are made in vanilla JavaScript. To ease-up the testing and making them more standard to other projects, we should migrate to a testing framework.

Jest is the most popular and its being used in Decidim already.

After the migration we should change the package.json test command.