Open fdelbrayelle opened 4 years ago
It should have some tests in app.spec.js to test multiple loop increment in incremental mode.
app.spec.js
Currently there is only tests for one loop turn in incremental mode. This is configured like this in app.spec.js:
continueAddingEntitiesComponents: false
Add some tests with:
continueAddingEntitiesComponents: true
And find a trick to loop in incremental mode in test scope like call again helpers in the 'end' event like this:
.on('end', () => { helpers .run(path.join(__dirname, '../generators/upgrade')) // ... .on('end', done); });
6.9.0
yes, i already tried this approach, but i didn't manage to call the helpers withPrompts a second time in a callback provided in the on() 'method'.
on()
Overview of the issue
It should have some tests in
app.spec.js
to test multiple loop increment in incremental mode.Motivation for or Use Case
Currently there is only tests for one loop turn in incremental mode. This is configured like this in
app.spec.js
:Suggest a Fix
Add some tests with:
And find a trick to loop in incremental mode in test scope like call again helpers in the 'end' event like this:
JHipster Version(s)
6.9.0