From bff00a3d465bbd3db49f3414abd9ba48d472f704 Mon Sep 17 00:00:00 2001 From: Gerardo Date: Fri, 8 Apr 2022 16:48:32 +0200 Subject: [PATCH] Mobile - React native editor test - Revert block list change, this will be needed once the quote block v2 is enabled by default --- packages/react-native-editor/src/test/index.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/react-native-editor/src/test/index.test.js b/packages/react-native-editor/src/test/index.test.js index b80509b7fdc8a..9d4569b114ec3 100644 --- a/packages/react-native-editor/src/test/index.test.js +++ b/packages/react-native-editor/src/test/index.test.js @@ -190,8 +190,7 @@ describe( 'Register Gutenberg', () => { {}, { component: EditorComponent } ); - // Inner blocks create BlockLists so let's take into account selecting the main one - const blockList = screen.getAllByTestId( 'block-list-wrapper' )[ 0 ]; + const blockList = screen.getByTestId( 'block-list-wrapper' ); expect( blockList ).toBeVisible(); expect( console ).toHaveLoggedWith( 'Hermes is: true' );