Closed miszo closed 5 years ago
I'll fix build and get back to you.
See #25 - I think we disabled this functionality because we assumed if the CI build was green, that would be enough to communicate that the tests had passed.
I’m personally ok having this functionality, but it shouldn’t be the default, and should require an option in the jest()
function to enable it.
Sure thing, I'll look into it and get back to you :) Do you prefer parameter to be a boolean flag or just message string which if is null then no feedback would be printed on success?
I'm thinking a boolean flag option in the IPluginConfig
interface, maybe called showSuccessMessage
? Thoughts?
Also, thank you for your contribution! 😄
Hey, yeah - that sounds OK to me. I'm working on it 💪
Messages | |
---|---|
:book: | :+1: Jest tests passed: 8/12 (4 skipped) |
Generated by :no_entry_sign: dangerJS against b0d160ff6dff9171dec04741de618ec8d99657bc
I've just run the plugin with showSuccessMessage = true
, and here's a result.
Please let me know if you want to have this turned on here or not. If it's OK, then don't hesitate to release a new version on npm ;)
No problem. It's been a pleasure. Happy to help you with this awesome danger plugin. Cheers!
This would be nice for the user to get feedback that some tests had passed.