angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Re create test unit

Open dekonunes opened this issue 9 years ago • 2 comments

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [X] feature request

Desired functionality.

I created a project and all components I deleted the unit tests documents, but now I want create a TDD in this project, there is a way/command to re-create the defaults spec?

dekonunes avatar Jul 17 '17 01:07 dekonunes

No, there isn't any way generate just the tests for an existing file. This isn't something we want to add right now either. My advice is to use git to restore these files, or to create a new component and use that test for the others.

filipesilva avatar Jul 28 '17 10:07 filipesilva

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.