Open cinan opened 3 years ago
As far as I know, mocha 7.1.0 or later supports mjs. https://github.com/mochajs/mocha/issues/3006
Because I want to use this package both the client and the server. "mjs" is a extension for JavaScript ES module, and runs there and Deno!
Why do you use .mjs instead of .js? It complicates imports in node.js applications and tests (I'm using mocha).