-
Notifications
You must be signed in to change notification settings - Fork 2.8k
/
Copy pathslots.test.tsx.snap
55 lines (49 loc) · 1.12 KB
/
slots.test.tsx.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
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`createFactory renders div and userProp integer as children 1`] = `
<div
className=""
component="componentValue"
id="componentIdValue"
>
42
</div>
`;
exports[`createFactory renders div and userProp string as children 1`] = `
<div
className=""
component="componentValue"
id="componentIdValue"
>
userPropString
</div>
`;
exports[`createFactory renders userProp span JSX with one prop 1`] = `
<span
id="I should be the only prop in the output"
/>
`;
exports[`createFactory renders userProp span component with component props 1`] = `
<span
className=""
component="componentValue"
id="I should be present alongside componentProps"
>
Component Child 1
Component Child 2
</span>
`;
exports[`createFactory renders userProp span function with component props 1`] = `
<span
className=""
component="componentValue"
id="I should be present alongside componentProps"
>
Component Child 1
Component Child 2
</span>
`;
exports[`createFactory renders userProp span function without component props 1`] = `
<span
id="I should be the only prop in the output"
/>
`;