feat: ✨ adds Cans list summary card for Total Budget #11406
Annotations
2 errors
Run frontend unit tests:
frontend/node_modules/@nivo/pie/dist/nivo-pie.cjs.js#L1
Error: require() of ES Module /home/runner/work/OPRE-OPS/OPRE-OPS/frontend/node_modules/d3-interpolate/src/index.js from /home/runner/work/OPRE-OPS/OPRE-OPS/frontend/node_modules/@nivo/core/dist/nivo-core.cjs.js not supported.
Instead change the require of index.js in /home/runner/work/OPRE-OPS/OPRE-OPS/frontend/node_modules/@nivo/core/dist/nivo-core.cjs.js to a dynamic import() which is available in all CommonJS modules.
❯ Object.<anonymous> node_modules/@nivo/core/dist/nivo-core.cjs.js:1:164
❯ Object.<anonymous> node_modules/@nivo/pie/dist/nivo-pie.cjs.js:1:39
❯ src/components/UI/DataViz/ResponsiveDonutWithInnerPercent/ResponsiveDonutWithInnerPercent.jsx:2:31
❯ src/components/CANs/CanCard/CanCard.jsx:10:31
❯ src/components/CANs/CanCard/CanCard.test.jsx:12:25
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
Run frontend unit tests
Process completed with exit code 1.
|
Loading