configureTest function
Implementation
Future<void> configureTest(BaseConfiguration config) async {
await WindowUtils(
macOs: () => MacOsWindow(),
win32: () => Win32Window(),
other: () => UnsupportedWindow(),
).setSize(
Size(config.resolution.width, config.resolution.height),
);
final platform = config.platform?.targetPlatform;
if (platform != null && debugDefaultTargetPlatformOverride != platform) {
debugDefaultTargetPlatformOverride = platform;
}
await RestartWidget.restartApp(config);
}