dnet45/modules/uoa-repository-dashboard-gui/trunk/src/app/about/about.component.spec.ts @ 46812
1 |
import { TestBed } from '@angular/core/testing'; |
---|---|
2 |
|
3 |
import { AboutComponent } from './about.component'; |
4 |
|
5 |
describe('About Component', () => { |
6 |
beforeEach(() => { |
7 |
TestBed.configureTestingModule({declarations: [AboutComponent]}); |
8 |
});
|
9 |
|
10 |
it('should ...', () => { |
11 |
const fixture = TestBed.createComponent(AboutComponent); |
12 |
fixture.detectChanges(); |
13 |
expect(fixture.nativeElement.children[0].textContent).toContain('About Works!'); |
14 |
});
|
15 |
|
16 |
});
|