IHttpBackendService#flush count parameter optional

The `count` parameter of `IHttpBackendService#flush` is optional.
This commit is contained in:
Andrew Davey
2013-03-07 16:34:13 +00:00
parent 0c154916c1
commit c086738251

View File

@@ -71,7 +71,7 @@ module ng {
// see http://docs.angularjs.org/api/ngMock.$httpBackend
///////////////////////////////////////////////////////////////////////////
interface IHttpBackendService {
flush(count: number): void;
flush(count?: number): void;
resetExpectations(): void;
verifyNoOutstandingExpectation(): void;
verifyNoOutstandingRequest(): void;