Skip to content

Commit 9611b01

Browse files
klopez4212Terp
andcommitted
Reset forum layout test platform before invariant checks
Co-authored-by: Terp <5856f6900e8e0a4e0ea1f4f8d2ee33e4753d2119bc122f94ecafc660b46c0511@buzz.block.builderlab.xyz> Signed-off-by: kenny lopez <[email protected]>
1 parent f9e5b49 commit 9611b01

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎mobile/test/features/channels/channel_detail_page_test.dart‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4348,6 +4348,8 @@ void main() {
43484348
final forum = tester.widget<ForumPostsView>(find.byType(ForumPostsView));
43494349
expect(forum.titleContentHeight, scaffold.appBar.titleContentHeight);
43504350
expect(forum.titleContentHeight, greaterThanOrEqualTo(104));
4351+
await tester.pumpWidget(const SizedBox());
4352+
debugDefaultTargetPlatformOverride = null;
43514353
});
43524354

43534355
testWidgets('renders video attachments from imeta tags in the timeline', (

0 commit comments

Comments
 (0)