Add d3-color to jest config

This allows upgrading d3-color version
This commit is contained in:
Przemek Więch 2025-01-16 16:45:05 +01:00 committed by GitHub
parent 04642851ce
commit 3f869f6fe1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -104,6 +104,7 @@
"jest": {
"moduleNameMapper": {
"d3-array": "<rootDir>/node_modules/d3-array/dist/d3-array.js",
"d3-color": "<rootDir>/node_modules/d3-color/dist/d3-color.js",
"d3-ease": "<rootDir>/node_modules/d3-ease/dist/d3-ease.js",
"d3-hierarchy": "<rootDir>/node_modules/d3-hierarchy/dist/d3-hierarchy.js",
"d3-interpolate": "<rootDir>/node_modules/d3-interpolate/dist/d3-interpolate.js",