Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run tests in Node.js for ES modules support
Jest currently uses Babel to transform ES modules to CommonJS (and doesn’t support dynamic import) https://jestjs.io/docs/ecmascript-modules This change avoids Node.js VM modules and lets Stylelint v16 use dynamic imports to prevent throwing: ``` TypeError: A dynamic import callback was invoked without --experimental-vm-modules ```
- Loading branch information