Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoltsova committed Jan 17, 2018
1 parent d90a817 commit 462611d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ gulp.task('test:cover', ['clean:cover', 'test:cover-hook'], () =>

gulp.task('test:coveralls', () =>
gulp.src('coverage/**/lcov.info')
.pipe(babel({
presets: ['env'],
}))
.pipe(coveralls()),
);

Expand Down
4 changes: 2 additions & 2 deletions src/model/Step.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ export default class Step {
* Create a workflow step. You should {@link Workflow#add add} it to a workflow or a compound step.
*
* @param {string} name - Step name. Must be unique in a parent step (e.g. {@link Workflow}).
* @param {Action=} action - Action to execute during the step. If no action is specified it will
* @param {Action=} [action={}] action - Action to execute during the step. If no action is specified it will
* automatically be created based on the configuration. Multiple steps may share a single action.
* @param {object} [config={}] - Action configuration containing input bindings.
* It should include action description in case the action is missing.
*
*/
constructor(name, action, config = {}) {
constructor(name, action = {}, config = {}) {
if (_.isUndefined(name)) {
throw new Error('Step must have a name');
}
Expand Down

0 comments on commit 462611d

Please sign in to comment.