Skip to content

Commit

Permalink
Turn on strict mode for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanhammond committed Jul 9, 2016
1 parent 4225661 commit 87dc1a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/broccoli/ember-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,7 @@ EmberApp.prototype._processedEmberCLITree = function() {
'app-boot.js',
'test-support-prefix.js',
'test-support-suffix.js',
'tests-prefix.js',
'tests-suffix.js'
];
var emberCLITree = new ConfigReplace(new UnwatchedDir(__dirname), this._configTree(), {
Expand Down Expand Up @@ -1124,6 +1125,7 @@ EmberApp.prototype.appTests = function(coreTestTree) {

return this._concatFiles(appTestTrees, {
inputFiles: [ this.name + '/tests/**/*.js' ],
headerFiles: [ 'vendor/ember-cli/tests-prefix.js' ],
footerFiles: [ 'vendor/ember-cli/tests-suffix.js' ],
outputFile: this.options.outputPaths.tests.js,
annotation: 'Concat: App Tests'
Expand Down
1 change: 1 addition & 0 deletions lib/broccoli/tests-prefix.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
'use strict';

0 comments on commit 87dc1a6

Please sign in to comment.