ministryofjustice / moj-frontend

Use the MoJ Design System to design, build, and deliver accessible and consistent services.
https://design-patterns.service.justice.gov.uk/
MIT License
30 stars 18 forks source link

test: use sass instead of deprecated node-sass #612

Closed froddd closed 3 days ago

froddd commented 1 month ago

Description of the change

Cloning the repository and attempting to run all tests (npm test) produces errors linked to gyp and node-sass. Given the node-sass library is deprecated, the official recommendation is to use the sass library instead.

This change fixes issues with running all tests.

Quantitative performance benefits

This should enable contributing developers to run tests locally.