blob: 502d33e0f3bab309351c9f7b022e184c2b1c6b71 [file] [log] [blame]
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { TestingModule } from '../../../testing/testing.module';
import { ResourceDetailComponent } from './resource-detail.component';
import { ResourceService } from '../shared/resource.service';
describe('ResourceDetailComponent', () => {
let component: ResourceDetailComponent;
let fixture: ComponentFixture<ResourceDetailComponent>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [TestingModule],
providers: [ResourceService],
declarations: [ResourceDetailComponent],
schemas: [
/* avoid importing modules */
NO_ERRORS_SCHEMA,
],
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(ResourceDetailComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
xit('should create', () => {
expect(component).toBeTruthy();
});
});