Skip to content

Commit

Permalink
Set up tolerant comparator for all tests in material_widget_test.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
victoreronmosele committed Aug 3, 2024
1 parent 1cabacc commit 1e616f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/rfw/test/material_widgets_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ void main() {
..update(materialName, createMaterialWidgets());
}

testWidgets('Material widgets', (WidgetTester tester) async {
setUpAll(() {
setUpTolerantComparator(
testPath: 'test/material_widget_test.dart', precisionTolerance: 0.01);
});

testWidgets('Material widgets', (WidgetTester tester) async {
final Runtime runtime = setupRuntime();
final DynamicContent data = DynamicContent();
final List<String> eventLog = <String>[];
Expand Down

0 comments on commit 1e616f8

Please sign in to comment.