blob: be535adc922cc85d0f79cc365442e809ac17f685 [file] [log] [blame]
/********************************************************************************
* Copyright (c) 2020 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/
import {async, ComponentFixture, TestBed} from "@angular/core/testing";
import {RouterTestingModule} from "@angular/router/testing";
import {StoreModule} from "@ngrx/store";
import {provideMockStore} from "@ngrx/store/testing";
import {I18nModule} from "../../../../core/i18n/i18n.module";
import {AppNavigationFrameModule} from "../../app-navigation-frame.module";
import {AppNavigationFrameComponent} from "./app-navigation-frame.component";
describe("AppNavigationFrameComponent", () => {
let component: AppNavigationFrameComponent;
let fixture: ComponentFixture<AppNavigationFrameComponent>;
const initialState = {};
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
AppNavigationFrameModule,
I18nModule,
RouterTestingModule,
StoreModule
],
providers: [provideMockStore({initialState})]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(AppNavigationFrameComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it("should create", () => {
expect(component).toBeTruthy();
});
});