configure static method
Configure widget testing environment.
This should be called in your setUpAll before running widget tests.
It disables Google Fonts runtime fetching to prevent HTTP errors in tests.
Example:
nySetUpAll(() async {
NyWidgetTest.configure();
await setupApplication(providers);
});
Implementation
static void configure({ThemeData? testTheme}) {
_testTheme = testTheme;
}