EchoTex_Payroll/HRM.UI/ClientApp/src/app/app.component.spec.js

36 lines
1.8 KiB
JavaScript
Raw Normal View History

2024-10-14 10:01:49 +06:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var testing_1 = require("@angular/core/testing");
var testing_2 = require("@angular/router/testing");
var animations_1 = require("@angular/platform-browser/animations");
var app_component_1 = require("./app.component");
var app_topbar_component_1 = require("./app.topbar.component");
var app_breadcrumb_component_1 = require("./app.breadcrumb.component");
var app_profile_component_1 = require("./app.profile.component");
var app_breadcrumb_service_1 = require("./app.breadcrumb.service");
var app_footer_component_1 = require("./app.footer.component");
var app_menu_component_1 = require("./app.menu.component");
var accordion_1 = require("primeng/accordion");
var panel_1 = require("primeng/panel");
describe('AppComponent', function () {
beforeEach((0, testing_1.async)(function () {
testing_1.TestBed.configureTestingModule({
imports: [animations_1.NoopAnimationsModule, testing_2.RouterTestingModule, accordion_1.AccordionModule, panel_1.PanelModule],
declarations: [
app_component_1.AppComponent,
app_topbar_component_1.AppTopBarComponent,
app_menu_component_1.AppMenuComponent,
app_profile_component_1.AppProfileComponent,
app_footer_component_1.AppFooterComponent,
app_breadcrumb_component_1.AppBreadcrumbComponent
],
providers: [app_breadcrumb_service_1.BreadcrumbService]
}).compileComponents();
}));
it('should create the app', (0, testing_1.async)(function () {
var fixture = testing_1.TestBed.createComponent(app_component_1.AppComponent);
var app = fixture.debugElement.componentInstance;
expect(app).toBeTruthy();
}));
});
//# sourceMappingURL=app.component.spec.js.map