Skip to content

Commit def105b

Browse files
author
Michael Krone
committed
test: remove unknown async function (was breaking)
remove done parameter from assertion function
1 parent e918b06 commit def105b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

68-testing-component-inputs-outputs/app/stock-inventory/components/stock-counter/stock-counter.component.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ describe('StockCounterComponent', () => {
6262
expect(component.value).toBe(20);
6363
});
6464

65-
it('should call the output on a value change', async((done) => {
65+
it('should call the output on a value change', () => {
6666
spyOn(component.changed, 'emit').and.callThrough();
6767
component.step = 100;
6868
component.increment();
6969
expect(component.changed.emit).toHaveBeenCalledWith(100);
70-
}));
70+
});
7171

7272
});

0 commit comments

Comments
 (0)