Skip to content

stefanpenner/mocha-esm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mocha-esm

Build Status So I was playing around with esm (.mjs) files and realized, I couldn't get mocha running nicely. So this happened.

This is likely missing features, but I am open to PR's addressing!

Installation

yarn add global mocha-esm

or

npm i -g mocha-esm

Then:

mocha-esm <path/to/test> <path/to/other/test>
mocha-esm inspect <path/to/test> <path/to/other/test>
mocha-esm inspect-brk <path/to/test> <path/to/other/test>

About

Quick trick to get to use mocha + esm/.mjs

Resources

Stars

Watchers

Forks

Packages

No packages published