bahmutov / compiled

Compiles the ES* bundle to your NodeJS version on install
https://glebbahmutov.com/blog/javascript-needs-compile-step/
41 stars 2 forks source link

How to make Mocha work with import / export modules #4

Closed bahmutov closed 8 years ago

bahmutov commented 8 years ago

Since we can easily use import and export keywords, what do we do with Mocha unit tests?

bahmutov commented 8 years ago

simple, see https://glebbahmutov.com/blog/unit-test-node-code-in-10-seconds/