Skip to content

Commit

Permalink
Merge pull request #10051 from bertdeblock/move-ember-try-config-file
Browse files Browse the repository at this point in the history
[ENHANCEMENT] Move `ember-try.js` config file to `tests/dummy/config/ember-try.js` for addons
  • Loading branch information
bertdeblock committed Oct 20, 2022
2 parents 4ec71e1 + d6ae130 commit 018a541
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion blueprints/addon/files/npmignore
Expand Up @@ -22,7 +22,6 @@
/.travis.yml
/.watchmanconfig
/bower.json
/config/ember-try.js
/CONTRIBUTING.md
/ember-cli-build.js
/testem.js
Expand Down
2 changes: 1 addition & 1 deletion blueprints/addon/index.js
Expand Up @@ -189,7 +189,7 @@ module.exports = {
'^config.*': 'tests/dummy/:path',
'^public.*': 'tests/dummy/:path',

'^addon-config/ember-try.js': 'config/ember-try.js',
'^addon-config/ember-try.js': 'tests/dummy/config/ember-try.js',

'^npmignore': '.npmignore',
},
Expand Down
4 changes: 2 additions & 2 deletions tests/acceptance/new-test.js
Expand Up @@ -510,7 +510,7 @@ describe('Acceptance: ember new', function () {
let fixturePath = `${namespace}/defaults`;

[
'config/ember-try.js',
'tests/dummy/config/ember-try.js',
'tests/dummy/app/templates/application.hbs',
'.github/workflows/ci.yml',
'README.md',
Expand Down Expand Up @@ -579,7 +579,7 @@ describe('Acceptance: ember new', function () {
let fixturePath = 'addon/yarn';

[
'config/ember-try.js',
'tests/dummy/config/ember-try.js',
'tests/dummy/app/templates/application.hbs',
'.github/workflows/ci.yml',
'README.md',
Expand Down

0 comments on commit 018a541

Please sign in to comment.