-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve testing #9
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! I left a few suggestions. Let me know if you have any questions 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
🎉 This PR is included in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I have added some tests for the different util functions and the semantic-release functions too.
Unit
Integration
Please review.
I am facing something weird here:
![image](https://private-user-images.githubusercontent.com/77456654/289877577-d73d7f32-a53d-4c76-882c-812c1fc5ce1f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTg1MDIsIm5iZiI6MTczOTU1ODIwMiwicGF0aCI6Ii83NzQ1NjY1NC8yODk4Nzc1NzctZDczZDdmMzItYTUzZC00Yzc2LTg4MmMtODEyYzFmYzVjZTFmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDE4MzY0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU4NTk4MTk2YjQ1MjJiYTViZDU1ZGI4NTM4NTg4ZGUxYzg2YzVhZTdhNmFjN2YzYzc2MTg1MDc0ZTA0ZWVhZTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.mSV-Xp-_uupLmhHGAvOdMjS53CoRBuw9NpIbmN_OGaI)
The test related to the
prepare
step:throws an error when next release is not defined
is not throwing an error even when reaching this part of the code:I already tested this using
console.logs
but no matter what I do the test is not throwing, I am skipping that test for nowDo you have any idea @JoseLion ?