1
|
/**
|
2
|
* @license
|
3
|
* Copyright Google Inc. All Rights Reserved.
|
4
|
*
|
5
|
* Use of this source code is governed by an MIT-style license that can be
|
6
|
* found in the LICENSE file at https://angular.io/license
|
7
|
*/
|
8
|
/**
|
9
|
* Injectable completer that allows signaling completion of an asynchronous test. Used internally.
|
10
|
*/
|
11
|
export declare class AsyncTestCompleter {
|
12
|
private _resolve;
|
13
|
private _reject;
|
14
|
private _promise;
|
15
|
done(value?: any): void;
|
16
|
fail(error?: any, stackTrace?: string): void;
|
17
|
readonly promise: Promise<any>;
|
18
|
}
|