Skip to content

Instantly share code, notes, and snippets.

@jakecraige
Created July 6, 2014 14:19
Show Gist options
  • Save jakecraige/e8216cee32623f6dd409 to your computer and use it in GitHub Desktop.
Save jakecraige/e8216cee32623f6dd409 to your computer and use it in GitHub Desktop.
EmberApp.prototype.testFiles = memoize(function() {
this.legacyTestFilesToAppend.unshift('vendor/qunit-notifications/index.js');
this.legacyTestFilesToAppend.unshift('vendor/qunit/qunit/qunit.js');
this.vendorTestStaticStyles.unshift('vendor/qunit/qunit/qunit.css');
//this.legacyTestFilesToAppend = this.legacyTestFilesToAppend.map(function(file){
//return file.replace(/^vendor\//, '');
//});
console.log(this.legacyTestFilesToAppend);
var testsJs = concatFiles(unwatchedTree('.'), {
inputFiles: this.legacyTestFilesToAppend,
outputFile: '/assets/tests-vendor.js'
});
var testsCss = concatFiles(unwatchedTree('.'), {
inputFiles: this.vendorTestStaticStyles,
outputFile: '/assets/tests-vendor.css'
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment