Skip to content

Getting No moduleQueue was set when using load-balance #370

Description

@makepanic

I've tried to use the load-balance option in our app, that's already using exam but got an execution error:

command:

ember exam --parallel=3 --load-balance

error:

throw new Error('No moduleQueue was set.')
    at TestemEvents.nextModuleResponse (/project/node_modules/ember-exam/lib/utils/testem-events.js:107:13)

packages:

    "ember-cli": "~3.12.0",
    "ember-exam": "^4.0.2",
    "ember-qunit": "^4.5.1",

test-helpers.ts:

// @ts-ignore
import Application from '../app';
import config from '../config/environment';
import { setApplication } from '@ember/test-helpers';
import start from 'ember-exam/test-support/start';
import 'qunit-dom';
import 'ember-cli-testdouble-qunit';

setApplication(Application.create(config.APP));

start();

I'm unsure how to debug this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions