Skip to content

Commit e593488

Browse files
Larry Yuhjdivad
authored andcommitted
Added a test case to show the regression
1 parent 234f3b2 commit e593488

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ jobs:
115115
# Environment variables from config
116116
- ./node_modules/.bin/ember try:each --config-path='../test/fixtures/dummy-ember-try-config-different-env-vars.js'
117117

118+
# fs-extra versions 7.x and above caused a regresion
119+
- ./node_modules/.bin/ember try:each --config-path='../test/fixtures/dummy-ember-try-config-fs-extra-scenarios.js'
118120

119121
steps:
120122
- uses: actions/checkout@v1
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
module.exports = {
2+
scenarios: [
3+
{
4+
name: 'Ember try should succeed when using fs-extra version 6.x',
5+
npm: {
6+
devDependencies: {
7+
'watchpack-chokidar2': '2.0.1',
8+
'ember-try-test-suite-helper': '1.0.0',
9+
'fs-extra': '6.0.1',
10+
},
11+
},
12+
},
13+
{
14+
name: 'Ember try should fail when using fs-extra version 9.x',
15+
npm: {
16+
devDependencies: {
17+
'watchpack-chokidar2': '2.0.1',
18+
'ember-try-test-suite-helper': '1.0.0',
19+
'fs-extra': '9.0.1',
20+
},
21+
},
22+
},
23+
],
24+
};

0 commit comments

Comments
 (0)