When I'm running integration tests made with `createComposeRule()` , I seem to be running into an is...
c
When I'm running integration tests made with
createComposeRule()
, 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
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.