Skip to content

Commit

Permalink
fix: e2e/cypress templates
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedied committed Dec 10, 2021
1 parent ba0aba5 commit 1131898
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generators/app/index.js
Expand Up @@ -318,8 +318,8 @@ module.exports = Generator.make({
'tools-hads': (props) => props.tools && props.tools.includes('hads'),
'tools-jest': (props) => props.tools && props.tools.includes('jest'),
'tools-karma': (props) => props.tools && !props.tools.includes('jest'),
e2e: (props) => !props.features || props.features.includes('e2e'),
cypress: (props) => !props.features || props.features.includes('cypress'),
e2e: (props) => props.e2e,
cypress: (props) => !props.e2e && props.features && props.features.includes('cypress'),
husky: (props) => props.initGit && props.tools.includes('prettier')
})
});

0 comments on commit 1131898

Please sign in to comment.