Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// useFactory: () => new AppOverlayContainer()
}
];
@NgModule({
declarations: [
AppComponent,
WindowComponent,
],
imports: [
BrowserModule,
BrowserAnimationsModule,
FormsModule,
HttpClientModule,
SharedModule.forRoot(),
SortablejsModule.forRoot({ animation: 150 }),
ComponentModule,
DocViewerModule,
SchemaFormModule,
SmartInputModule,
DirectivesModule,
StoreModule.forRoot(reducerToken, { metaReducers }),
EffectsModule.forRoot([ QueryEffects, WindowsEffects, QueryCollectionEffects ]),
StoreDevtoolsModule.instrument(),
ToastrModule.forRoot({
newestOnTop: false,
closeButton: true,
positionClass: 'toast-top-center',
enableHtml: true,
}),
TranslateModule.forRoot({
loader: {
path: 'custom-options',
component: SortableWithOptionsComponent,
},
{
path: 'multiple-lists',
component: MultipleListsComponent,
},
{
path: 'tests/cross-components-multiple-list',
component: CrossComponentsMultipleListsComponent,
},
]),
// global settings
SortablejsModule.forRoot({
animation: 200,
}),
BsDropdownModule.forRoot(),
ExamplesModule,
TestCasesModule,
],
bootstrap: [AppComponent],
})
export class AppModule { }
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ WindowSwitcherComponent ],
imports: [
BrowserAnimationsModule,
SharedModule,
TranslateModule.forRoot(),
SortablejsModule.forRoot({}),
ContextMenuModule.forRoot()
]
})
.compileComponents();
}));