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
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: