DEV: Improve test paths pattern for Ember CLI.
Ember tests follows a convention where test files have a postfix of `-test.js`. This ensures that any files in the tests folder which follows this pattern is included.
This commit is contained in:
parent
65f46ad4ed
commit
cc7a04afdc
|
@ -71,13 +71,7 @@ module.exports = function (defaults) {
|
|||
});
|
||||
|
||||
let tests = concat(appTestTrees, {
|
||||
inputFiles: [
|
||||
"**/tests/acceptance/*.js",
|
||||
"**/tests/integration/*.js",
|
||||
"**/tests/integration/**/*.js",
|
||||
"**/tests/unit/*.js",
|
||||
"**/tests/unit/**/*.js",
|
||||
],
|
||||
inputFiles: ["**/tests/**/*-test.js"],
|
||||
headerFiles: ["vendor/ember-cli/tests-prefix.js"],
|
||||
footerFiles: ["vendor/ember-cli/app-config.js"],
|
||||
outputFile: "/assets/core-tests.js",
|
||||
|
|
Loading…
Reference in New Issue