Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exam:iterate & EMBER_ENV #125

Open
calderas opened this issue Jan 17, 2018 · 2 comments
Open

exam:iterate & EMBER_ENV #125

calderas opened this issue Jan 17, 2018 · 2 comments
Labels

Comments

@calderas
Copy link

When running ember exam it sets the following ember-cli variables as expected:

EMBER_CLI_TEST_COMMAND: 'true',
EMBER_ENV: 'test'

However, when running ember exam:iterate N the environment defaults to development

EMBER_ENV: 'development'

Looks like this line is missing the test environment configuration option:
https://github.com/trentmwillis/ember-exam/blob/master/lib/commands/exam/iterate.js#L77

'./node_modules/.bin/ember build --environment=test --output-path ' + this._outputDir, { stdio: 'inherit' }

instead of:

'./node_modules/.bin/ember build --output-path ' + this._outputDir, { stdio: 'inherit' }
@trentmwillis
Copy link
Member

Ah good catch, would you mind submitting a PR to fix this?

@hoIIer
Copy link

hoIIer commented Jan 30, 2018

do you think this is culprit? when I run ember exam:iterate X I get cascade of Assertion Failed: You cannot use the same root element (BODY) multiple times in an Ember.Application #126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants