Taming Jest's Module Woes: Fixing "Cannot use import statement outside a module" in React Testing
Jest and ES Modules: By default, Jest doesn't natively support ECMAScript (ES) modules (introduced in ES6), which use import statements for code imports