Skip to content

Testing for Component Generation #46

@joshhedstrom

Description

@joshhedstrom

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 app 

cc: @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 #10 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions