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
Tests that use beforeMount to configure TestBed fail to run.
npm run test-ct
> web-component-harness@0.0.0 test-ct
> playwright test -c playwright-ct.config.ts
JIT compilation failed for injectable [class PlatformLocation]
Error: The injectable 'PlatformLocation' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available.
The injectable is part of a library that has been partially compiled.
However, the Angular Linker has not processed the library such that JIT compilation is used as fallback.
Ideally, the library is processed using the Angular Linker to become fully AOT compiled.
Alternatively, the JIT compiler should be loaded by bootstrapping using '@angular/platform-browser-dynamic' or '@angular/platform-server',
or manually provide the compiler with 'import "@angular/compiler";' before bootstrapping.
at getCompilerFacade (<omitted>/packages/core/src/compiler/compiler_facade.ts:52:11)
at Module.ɵɵngDeclareFactory (<omitted>/packages/core/src/render3/jit/partial.ts:58:20)
at Function.<static_initializer> (<omitted>/node_modules/@angular/common/fesm2022/common.mjs:64:29)
at <omitted>/packages/common/src/dom_tokens.ts:18:25
Version: 1.41.2
Tests that use
beforeMount
to configureTestBed
fail to run.Minimal reproduction
The text was updated successfully, but these errors were encountered: