-
I have a test target that imports the @testable app module, and my app uses Firebase internally. I ensure Firebase is only configured when tests aren’t running, but I still notice some code from GoogleDataTransport being executed. This makes sense since some of its classes implement the +load class method. My question is: is there an effective way to completely prevent Firebase code from running during tests? In my case, it doesn’t serve any purpose during testing. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I don't think there's a way. We'd like to migrate away from Feel free to create an issue if you'd like to track it. |
Beta Was this translation helpful? Give feedback.
I don't think there's a way.
We'd like to migrate away from
+load
in the Firebase implementations in favor of on-demand loading, but haven't yet prioritized it.Feel free to create an issue if you'd like to track it.