Angular 13 and up only compiles into ES modules, and it looks like karma-typescript uses CJS.
When trying to run unit tests on v13 angular library I get a variety of issues, one of which is
TypeError: core_1.InjectionToken is not a constructor
when processing an import from angular/core
import { InjectionToken, Type } from '@angular/core';
The latest version release has been before v13 release - if karma-typescript has no support for it, are there any plans for it?
Angular 13 and up only compiles into ES modules, and it looks like karma-typescript uses CJS. When trying to run unit tests on v13 angular library I get a variety of issues, one of which is
TypeError: core_1.InjectionToken is not a constructor
when processing an import from angular/core
import { InjectionToken, Type } from '@angular/core';
The latest version release has been before v13 release - if karma-typescript has no support for it, are there any plans for it?