TODO
This project uses some ECMAScript modules for in-browser page rendering.
To be able to test this with Jest, we need to follow some considerations:
To run the tests, in case we're using an older version of NodeJS (<19), we need to set the environment variable NODE_OPTIONS
to --experimental-vm-modules
:
NODE_OPTIONS=--experimental-vm-modules npm test