Skip to content

Commit

Permalink
Slightly increased coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoScabbiolo committed Jan 7, 2018
1 parent 114aacd commit d32f28f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 16 deletions.
14 changes: 6 additions & 8 deletions __tests__/component-section.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ component({
name: 'test',
path: 'generator_tests',
type: 'section',
container: false
},
options: {
container: false,
bootstrap: true,
reacthocloading: false,
reactbootstraphocerror: false
}
},
options: {}
});

component({
Expand All @@ -22,11 +21,10 @@ component({
name: 'test',
path: 'generator_tests',
type: 'section',
container: false
},
options: {
container: false,
bootstrap: true,
reacthocloading: true,
reactbootstraphocerror: true
}
},
options: {}
});
7 changes: 3 additions & 4 deletions __tests__/component/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@ function testSuite(
path: 'generator_tests',
container: true,
bootstrap: true,
stylesheet: false
},
options: {
stylesheet: false,
reacthocloading: false,
reactbootstraphocerror: false
}
},
options: {}
},
testEnvironment = false
) {
Expand Down
4 changes: 0 additions & 4 deletions generators/ReactReduxGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ module.exports = class extends reactReduxEnvironment(Generator) {

this.reactReduxGeneratorOptions = reactReduxGeneratorOptions;

if (!this.reactReduxGeneratorOptions.prompts) {
this.reactReduxGeneratorOptions.prompts = [];
}

sharedOptions.include(
this.option.bind(this),
reactReduxGeneratorOptions.shared,
Expand Down

0 comments on commit d32f28f

Please sign in to comment.