Update comment, fix typo

This commit is contained in:
Andrew Zheng 2017-02-01 15:56:56 -08:00
parent b033ae77a8
commit e56981db5b

View File

@ -132,7 +132,7 @@ declare module 'angular' {
/**
* Verifies that all of the requests defined via the expect api were made. If any of the requests were not made, verifyNoOutstandingExpectation throws an exception.
* @param digest Do digest before checking expectation. Pass anything expect false to trigger digest.
* @param digest Do digest before checking expectation. Pass anything except false to trigger digest. NOTE this flag is purposely undocumented by Angular, which means it's not to be used in normal client code.
*/
verifyNoOutstandingExpectation(digest?: boolean): void;