Skip to content

Commit

Permalink
Test scan (#37)
Browse files Browse the repository at this point in the history

* update unit test
  • Loading branch information
yzlucas authored Sep 17, 2024
1 parent 7789d19 commit c14c535
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 84 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run Tests
name: Run Tests

env:
NPMRC: ${{ secrets.NPMRC }}
Expand Down
10 changes: 0 additions & 10 deletions client/wfprev-war/src/app/app-routing.module.ts

This file was deleted.

3 changes: 0 additions & 3 deletions client/wfprev-war/src/app/app.component.html

This file was deleted.

Empty file.
35 changes: 0 additions & 35 deletions client/wfprev-war/src/app/app.component.spec.ts

This file was deleted.

10 changes: 0 additions & 10 deletions client/wfprev-war/src/app/app.component.ts

This file was deleted.

18 changes: 0 additions & 18 deletions client/wfprev-war/src/app/app.module.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,4 @@ describe('AppComponent', () => {
const app = fixture.componentInstance;
expect(app.title).toEqual('wfprev app is running!');
});

it('should render title', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.nativeElement as HTMLElement;
expect(compiled.querySelector('.content span')?.textContent).toContain('wfprev app is running!');
});
});

0 comments on commit c14c535

Please sign in to comment.