Replies: 1 comment 6 replies
-
Hi Steven, I am not fan of returning What you can do instead is to use |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a number of tests where I am testing that child components are not rendered (i.e. they're only rendered under certain conditions). In this situation I would expect to use Assert.Null; however, I am having to use Assert.Throws, which I think is semantically inappropriate. Is there a reason why the exception is being thrown, rather than returning null?
PS bUnit is AWESOME!
Beta Was this translation helpful? Give feedback.
All reactions