Skip to content

Update chai dependency that uses ESM modules #1791

@unjust

Description

@unjust

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    choreTareas pertinentes al equipo de mantenimientodependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions