Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #152 from ember-cli/nathanhammond-patch-1
Browse files Browse the repository at this point in the history
Fix boolean for acceptance testing container styles.
  • Loading branch information
nathanhammond authored Sep 28, 2016
2 parents c2df13a + f39c179 commit 638d3ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ module.exports = {
];

var addonOptions = target.options['ember-cli-qunit'];
// Skip if disableContainerStyles === false.
if (addonOptions && addonOptions.disableContainerStyles === false) {
var hasAddonOptions = !!addonOptions;
var explicitlyDisabledContainerStyles = hasAddonOptions && addonOptions.disableContainerStyles === true;
if (!explicitlyDisabledContainerStyles) {
fileAssets.push('vendor/ember-cli-qunit/test-container-styles.css');
}

Expand Down

0 comments on commit 638d3ff

Please sign in to comment.