|
expect(name).not.toBeFalsy; |
We're wondering if this was intentional or not - it's a bit odd since name definitely is falsy in this codepath, so while it looks like a simple mistaken uncalled function, this function call appears that it would throw. OTOH maybe that's why the error wasn't detected?