/
index.js.snap
85 lines (82 loc) · 2.29 KB
/
index.js.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`DefaultBlockAppender should append a default block when input focused 1`] = `
<div
className="wp-block editor-default-block-appender block-editor-default-block-appender"
data-root-client-id=""
onMouseEnter={[Function]}
onMouseLeave={[Function]}
>
<WithDispatch(WithSelect(WithFilters(BlockDropZone))) />
<TextareaAutosize
aria-label="Add block"
className="editor-default-block-appender__content block-editor-default-block-appender__content"
onFocus={
[MockFunction] {
"calls": Array [
Array [],
],
"results": Array [
Object {
"type": "return",
"value": undefined,
},
],
}
}
readOnly={true}
role="button"
rows={1}
value="Start writing or type / to choose a block"
/>
<WithSelect(WithDispatch(IfCondition(Inserter)))
isAppender={true}
position="top right"
/>
</div>
`;
exports[`DefaultBlockAppender should match snapshot 1`] = `
<div
className="wp-block editor-default-block-appender block-editor-default-block-appender"
data-root-client-id=""
onMouseEnter={[Function]}
onMouseLeave={[Function]}
>
<WithDispatch(WithSelect(WithFilters(BlockDropZone))) />
<TextareaAutosize
aria-label="Add block"
className="editor-default-block-appender__content block-editor-default-block-appender__content"
onFocus={[MockFunction]}
readOnly={true}
role="button"
rows={1}
value="Start writing or type / to choose a block"
/>
<WithSelect(WithDispatch(IfCondition(Inserter)))
isAppender={true}
position="top right"
/>
</div>
`;
exports[`DefaultBlockAppender should optionally show without prompt 1`] = `
<div
className="wp-block editor-default-block-appender block-editor-default-block-appender"
data-root-client-id=""
onMouseEnter={[Function]}
onMouseLeave={[Function]}
>
<WithDispatch(WithSelect(WithFilters(BlockDropZone))) />
<TextareaAutosize
aria-label="Add block"
className="editor-default-block-appender__content block-editor-default-block-appender__content"
onFocus={[MockFunction]}
readOnly={true}
role="button"
rows={1}
value=""
/>
<WithSelect(WithDispatch(IfCondition(Inserter)))
isAppender={true}
position="top right"
/>
</div>
`;