Skip to content

Commit 8834370

Browse files
committed
Revert "Try to remove the promise"
This reverts commit 5f101ed.
1 parent 5f101ed commit 8834370

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

addon-test-support/-private/ember-exam-test-loader.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default class EmberExamTestLoader extends TestLoader {
6060
*
6161
* @method loadModules
6262
*/
63-
loadModules({ availableModules } = {}) {
63+
async loadModules({ availableModules } = {}) {
6464
const loadBalance = this._urlParams.get('loadBalance');
6565
const browserId = this._urlParams.get('browser');
6666
const modulePath = this._urlParams.get('modulePath');
@@ -119,7 +119,8 @@ export default class EmberExamTestLoader extends TestLoader {
119119
);
120120

121121
if (this._availableModules) {
122-
return this.loadAvailableModules();
122+
await this.loadAvailableModules();
123+
return;
123124
}
124125

125126
/**

0 commit comments

Comments
 (0)