Skip to content

Commit f7dce5c

Browse files
test(unit): update spec of app spa
1 parent 5e2e27f commit f7dce5c

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/app/app.component.spec.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe('AppComponent', () => {
2121
it('should render the title', () => {
2222
fixture.detectChanges();
2323
const compiled = fixture.nativeElement as HTMLElement;
24-
expect(compiled.querySelector('h1')?.textContent).toContain('VLibras');
24+
expect(compiled.querySelector('h1')?.textContent).toContain('angular-vlibras');
2525
});
2626

2727
it('should render the <angular-VLibras> component', () => {
@@ -46,13 +46,4 @@ describe('AppComponent', () => {
4646
expect(mainDiv).toBeTruthy();
4747
expect(contentDiv).toBeTruthy();
4848
});
49-
50-
it('should have a left-side div with the SVG logo', () => {
51-
fixture.detectChanges();
52-
const compiled = fixture.nativeElement as HTMLElement;
53-
const leftSideDiv = compiled.querySelector('div.left-side');
54-
expect(leftSideDiv).toBeTruthy();
55-
const svgElement = leftSideDiv?.querySelector('svg.angular-logo');
56-
expect(svgElement).toBeTruthy();
57-
});
5849
});

0 commit comments

Comments
 (0)