You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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:
require
instead ofimport
The text was updated successfully, but these errors were encountered: