UNPKG

720 BTypeScriptView Raw
1import Application from '@ember/application';
2/**
3 Stores the provided application instance so that tests being ran will be aware of the application under test.
4
5 - Required by `setupApplicationContext` method.
6 - Used by `setupContext` and `setupRenderingContext` when present.
7
8 @public
9 @param {Ember.Application} application the application that will be tested
10*/
11export declare function setApplication(application: Application): void;
12/**
13 Retrieve the application instance stored by `setApplication`.
14
15 @public
16 @returns {Ember.Application} the previously stored application instance under test
17*/
18export declare function getApplication(): Application | undefined;
19//# sourceMappingURL=application.d.ts.map
\No newline at end of file