Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jest doesn't like esm #4

Open
vsimko opened this issue Jul 13, 2018 · 0 comments
Open

jest doesn't like esm #4

vsimko opened this issue Jul 13, 2018 · 0 comments
Assignees

Comments

@vsimko
Copy link
Owner

vsimko commented Jul 13, 2018

Currently, we use Jest as a testing framework.
This is OK if we don't want ES6 syntax for modules in our code.
The esm project provides a transparent support for ES6 modules, however Jest cannot be currently used with esm.

Options:

  • use mocha + chai instead
  • wait for jest to support esm
  • use typescript and compile to commonjs
  • avoid es modules and just use require instead of import
@vsimko vsimko self-assigned this Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant