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
Convert jest.config.ts and swcjest.config.ts from CommonJS to ES module
syntax to fix 'module is not defined in ES module scope' error.
The issue occurred because package.json has "type": "module" which makes
Node.js treat .ts files as ES modules, but Jest configs were using
module.exports (CommonJS syntax).
Co-authored-by: Ivan Galiatin <[email protected]>
0 commit comments