diff --git a/packages/flutter_test/lib/src/test_compat.dart b/packages/flutter_test/lib/src/test_compat.dart index 860d65a50f..848edec8a5 100644 --- a/packages/flutter_test/lib/src/test_compat.dart +++ b/packages/flutter_test/lib/src/test_compat.dart @@ -232,8 +232,8 @@ void test( /// avoid this flag if possible, and instead use the test runner flag `-n` to /// filter tests by name. @isTestGroup -void group(Object description, Function body) { - _declarer.group(description.toString(), body); +void group(Object description, Function body, { dynamic skip }) { + _declarer.group(description.toString(), body, skip: skip); } /// Registers a function to be run before tests.