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

Replace file fixtures with broccoli-helpers #7578

Merged
merged 1 commit into from
Jan 25, 2018
Merged

Replace file fixtures with broccoli-helpers #7578

merged 1 commit into from
Jan 25, 2018

Conversation

twokul
Copy link
Contributor

@twokul twokul commented Jan 25, 2018

This test was already using broccoli-helpers but was still copying
things from fixtures folder.

Things to note:

  • we no longer mutate process.env.EMBER_ENV; replaced with assigning
    app.env directly (cleaner and less prone to test leaks since app is
    created per test)
  • test folder is created only once as opposed to per test

This test was already using `broccoli-helpers` but was still copying
things from `fixtures` folder.

Things to note:

+ we no longer mutate `process.env.EMBER_ENV`; replaced with assigning
`app.env` directly (cleaner and less prone to test leaks since `app` is
created per test)
+ test folder is created only once as opposed to per test
@twokul twokul merged commit 01c315e into ember-cli:master Jan 25, 2018
@twokul twokul deleted the twokul/import-tests branch January 25, 2018 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants