curriculum icon indicating copy to clipboard operation
curriculum copied to clipboard

Update chai dependency that uses ESM modules

Open unjust opened this issue 11 months ago • 0 comments

Our chai dependency is still on version 4, there is version 5 but it entails that w update all the uses of require chai to ESM

For example:

Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/ivy/Work/Laboratoria/repos/dev/curriculum/node_modules/chai/chai.js from /Users/ivy/Work/Laboratoria/repos/dev/curriculum/topics/functional/01-state/02-practice/01-discount/test/discount.spec.js not supported.

unjust avatar Mar 21 '24 16:03 unjust