Test UI sleep.
Future<int> testUISleep({int? frames, int? ms}) => _testUISleepImpl(frames: frames, ms: ms);