Skip to content

Commit

Permalink
Update snapshots for File block tests
Browse files Browse the repository at this point in the history
  • Loading branch information
etoledom committed Nov 25, 2020
1 parent 12ae929 commit 68bdbd0
Showing 1 changed file with 66 additions and 50 deletions.
116 changes: 66 additions & 50 deletions packages/block-library/src/file/test/__snapshots__/edit.native.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,65 +4,80 @@ exports[`File block renders file without crashing 1`] = `
<View
pointerEvents="box-none"
>
<View>
<View
accessible={true}
focusable={true}
onClick={[Function]}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
>
Modal
<View>
<RCTAztecView
accessible={true}
activeFormats={Array []}
blockType={
Object {
"tag": "p",
<View>
<RCTAztecView
accessible={true}
activeFormats={Array []}
blockType={
Object {
"tag": "p",
}
}
}
deleteEnter={true}
disableEditingMenu={false}
focusable={true}
fontFamily="serif"
isMultiline={false}
maxImagesWidth={200}
onBackspace={[Function]}
onBlur={[Function]}
onChange={[Function]}
onClick={[Function]}
onContentSizeChange={[Function]}
onEnter={[Function]}
onFocus={[Function]}
onHTMLContentWithCursor={[Function]}
onKeyDown={[Function]}
onPaste={[Function]}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onSelectionChange={[Function]}
onStartShouldSetResponder={[Function]}
placeholder="File name"
placeholderTextColor="gray"
style={
Object {
"backgroundColor": undefined,
"maxWidth": undefined,
"minHeight": 0,
deleteEnter={true}
disableEditingMenu={false}
focusable={true}
fontFamily="serif"
isMultiline={false}
maxImagesWidth={200}
onBackspace={[Function]}
onBlur={[Function]}
onChange={[Function]}
onClick={[Function]}
onContentSizeChange={[Function]}
onEnter={[Function]}
onFocus={[Function]}
onHTMLContentWithCursor={[Function]}
onKeyDown={[Function]}
onPaste={[Function]}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onSelectionChange={[Function]}
onStartShouldSetResponder={[Function]}
placeholder="File name"
placeholderTextColor="gray"
style={
Object {
"backgroundColor": undefined,
"maxWidth": undefined,
"minHeight": 0,
}
}
}
text={
Object {
"eventCount": undefined,
"linkTextColor": undefined,
"selection": null,
"text": "<p >File name</p>",
text={
Object {
"eventCount": undefined,
"linkTextColor": undefined,
"selection": null,
"text": "<p >File name</p>",
}
}
}
textAlign="left"
triggerKeyCodes={Array []}
/>
textAlign="left"
triggerKeyCodes={Array []}
/>
</View>
</View>
<View
style={
Array [
Object {},
Array [
undefined,
false,
],
Object {
"alignSelf": "flex-start",
},
Expand All @@ -71,6 +86,7 @@ exports[`File block renders file without crashing 1`] = `
>
<TextInput
allowFontScaling={true}
editable={true}
fontFamily="serif"
onChange={[Function]}
rejectResponderTermination={true}
Expand Down

0 comments on commit 68bdbd0

Please sign in to comment.