Hello,
After upgrading to Angular 21 ang trying to migrate to vitest, using this guide I am facing the same problem:
SyntaxError: Named export 'ArrayBase' not found. The requested module '@syncfusion/ej2-angular-base' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from '@syncfusion/ej2-angular-base';
const { setValue, ComponentBase, ComponentMixins, FormBase, ComplexBase, Template, ArrayBase } = pkg;
Thank you.