Forked from an inaccessible project.
-
Joe Van Boxtel authoredJoe Van Boxtel authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
degree-planner.component.spec.ts 1.34 KiB
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { SharedModule } from '@app/shared/shared.module';
import { CoreModule } from '@app/core/core.module';
import { SharedDegreePlannerModule } from './shared/shared.module';
import { DegreePlannerComponent } from './degree-planner.component';
import { DataService } from '@app/core/data.service';
import { HttpClient } from '@angular/common/http';
import { HttpHandler } from '@angular/common/http';
describe('DegreePlannerComponent', () => {
let component: DegreePlannerComponent;
let fixture: ComponentFixture<DegreePlannerComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [RouterTestingModule, CoreModule, SharedModule, SharedDegreePlannerModule, BrowserAnimationsModule],
declarations: [DegreePlannerComponent],
providers: [DataService, HttpClient, HttpHandler],
schemas: [NO_ERRORS_SCHEMA]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(DegreePlannerComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});