Open puddlejumper26 opened 3 years ago
karma.conf.js
protractor.conf.js
e2e
foldertest.ts
karma
to load all the spec
files inside the applet fixture: ComponentFixture<demoComponent>;
let component: demoComponent;
let de: DebugElement;
beforeEach(async(() => { TestBed.configureTestingModule({declarations: [demoComponent], }).compileComponents(); } ));
beforeEach
, and after the compileComponent()
fixture = TestBed.createComponent(demoComponent);
component = fixture.componentInstance;
de = fixture.debugElement;
fixture.detectChanges();
1.0 First check this video
2.0 Jasmine file
3.0 Files inside Angular App related to Testing
4.0 Codes inside a Testing file