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
Test suite failed to run
ReferenceError: Cannot access 'DropdownComponent' before initialization
3 | import { FullLayoutComponent } from './full-layout.component';
> 4 | import {SidebarModule} from "@coreui/angular";
| ^
5 |
6 | describe('Main LayoutComponent', () => {
7 | let component: FullLayoutComponent;
at Object.<anonymous> (../../node_modules/@coreui/angular/fesm2020/coreui-angular.mjs:2599:212)
at Object.<anonymous> (src/app/layout/full-layout.component.spec.ts:5:1)
at TestScheduler.scheduleTests (../../node_modules/@jest/core/build/TestScheduler.js:333:13)
at runJest (../../node_modules/@jest/core/build/runJest.js:404:19)
at _run10000 (../../node_modules/@jest/core/build/cli/index.js:320:7)
at runCLI (../../node_modules/@jest/core/build/cli/index.js:173:3)
Is this related to the order the components are defined, or partial JIT compilation like in angular/components#23907?
The text was updated successfully, but these errors were encountered:
OS: MacOs 12.3
Browser: N/A (Unit tests)
Specifically any reference to the
DropdownComponent
e.g. when using thec-sidebar
orc-dropdown
component:I get this error:
Is this related to the order the components are defined, or partial JIT compilation like in angular/components#23907?
The text was updated successfully, but these errors were encountered: