rocket-science
rocket-science copied to clipboard
Testing for Component Generation
We could probably use some kind of test to see if our component generator is broken as well. I think this may be specifically a test for the inquirer logic in rocket-science/src/util/cli/generateComponent/index.ts
Failure Scenario To Test Against:
1. npm run generate-component 2. user fills out inquirer prompts (all potential paths) 3. the newly generated component files are made 4. when the newly generated component is rendered, there is a failure that crashes the appcc: @ahoward2 @joshhedstrom
I'm going to just create a new issue for this and then I can work on it.
Originally posted by @joshhedstrom in https://github.com/rocket-science-core/rocket-science/issues/10#issuecomment-950046455