Skip to content

Commit 5f101ed

Browse files
committed
Try to remove the promise
1 parent 1ab1261 commit 5f101ed

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 3 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-
async loadModules({ availableModules } = {}) {
63+
loadModules({ availableModules } = {}) {
6464
const loadBalance = this._urlParams.get('loadBalance');
6565
const browserId = this._urlParams.get('browser');
6666
const modulePath = this._urlParams.get('modulePath');
@@ -119,8 +119,7 @@ export default class EmberExamTestLoader extends TestLoader {
119119
);
120120

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

126125
/**

0 commit comments

Comments
 (0)