tomwhite007 / rename-angular-component

VS Code Extension: Rename Angular Component
https://marketplace.visualstudio.com/items?itemName=tomwhite007.rename-angular-component
Other
30 stars 2 forks source link

Feat/add integration tests #23

Closed tomwhite007 closed 2 years ago

tomwhite007 commented 2 years ago

Finally adding some tests to this project instead of rushing to deliver. The best way to test this process is a full integration test with an Angular project as the target and then running a git diff after renaming something. VSCode extension framework uses Mocha by default, so after trying to switch to Jest and failing, I've written a snapshot-like process in Node for Mocha.