Skip to content

Commit

Permalink
fix: remove camelCase from componentTestTemplateGenerator, it's handl…
Browse files Browse the repository at this point in the history
…ed in generateComponent

#43
  • Loading branch information
arminbro committed Jun 12, 2021
1 parent 8939bbf commit 7885d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/generateComponentUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ function componentTestTemplateGenerator({ cliConfigFile, cmd, componentName }) {

template = componentTestEnzymeTemplate;
} else if (testLibrary === 'Testing Library') {
template = componentTestTestingLibraryTemplate.replace(/#|templateName/g, camelCase(componentName));
template = componentTestTestingLibraryTemplate;
} else {
template = componentTestDefaultTemplate;
}
Expand Down

0 comments on commit 7885d22

Please sign in to comment.