, I seem to be running into an issue where my font family is triggering the following error. This doesn't happen normally when using the app. Why is this only occurring in the test on the first TextStyle passed to the Typography constructor and how can I resolve it? Do I have to provide the font family differently for tests, since it appears that it thinks the FontFamily I defined is null?
Copy code
Caused by: java.lang.NullPointerException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkNotNullParameter, parameter h4
colintheshots
10/27/2021, 2:41 PM
I was able to work around it for now by only specifying a default font family and not specifying font families for each style as well.