Skip to content

Commit 128b44a

Browse files
committed
updated status card tests according to angular documentation
1 parent 2409622 commit 128b44a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

client/src/app/dashboard/status-card/status-card.component.spec.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ describe('StatusCardComponent', () => {
4444
};
4545
TestBed.configureTestingModule({
4646
declarations: [ StatusCardComponent ],
47-
imports: [],
4847
providers: [{provide: ApiService, useValue: apiServiceStub}]
4948
})
5049
.compileComponents();
@@ -57,7 +56,7 @@ describe('StatusCardComponent', () => {
5756
});
5857

5958
it('should create', () => {
60-
expect(component).toBeTruthy();
59+
expect(component).toBeDefined();
6160
});
6261

6362
it('should have the dummy data stored', () => {

0 commit comments

Comments
 (0)