Skip to content

Commit

Permalink
Update baselining_test.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
polina-c committed Oct 23, 2023
1 parent 7ad7816 commit 85c4782
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ void main() {

await widgetTester.pumpWidget(_materialApp());
},
leakTrackingTestConfig: LeakTrackingTestConfig(
isLeakTrackingPaused: true,
leakTesting: LeakTesting.settings.copyWith(
ignore: true,
baselining: MemoryBaselining(
baseline: MemoryBaseline(
rss: ValueSampler(
Expand All @@ -41,9 +41,9 @@ void main() {

await widgetTester.pumpWidget(_materialApp());
},
leakTrackingTestConfig: const LeakTrackingTestConfig(
isLeakTrackingPaused: true,
baselining: MemoryBaselining(),
leakTesting: LeakTesting.settings.copyWith(
ignore: true,
baselining: const MemoryBaselining(),
),
);

Expand All @@ -56,9 +56,9 @@ void main() {

await widgetTester.pumpWidget(_materialApp(seed: i));
},
leakTrackingTestConfig: const LeakTrackingTestConfig(
isLeakTrackingPaused: true,
baselining: MemoryBaselining(),
leakTesting: LeakTesting.settings.copyWith(
ignore: true,
baselining: const MemoryBaselining(),
),
);
}
Expand Down

0 comments on commit 85c4782

Please sign in to comment.