-
-
Notifications
You must be signed in to change notification settings - Fork 46.7k
/
index.test.tsx.snap
76 lines (70 loc) · 2.42 KB
/
index.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Watermark Image watermark snapshot 1`] = `
<div>
<div
style="position: relative;"
>
<div
data-watermark-id="7mte-1669650061677"
style="z-index: 9; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-size: 320px; pointer-events: none; background-repeat: repeat; background-position: 0px 0px; background-image: url('data:image/png;base64,00'); "
/>
</div>
</div>
`;
exports[`Watermark MutationObserver should work properly 1`] = `
<div>
<div
class="watermark"
style="position: relative;"
/>
</div>
`;
exports[`Watermark Observe the modification of data-watermark-id 1`] = `
<div>
<div
class="watermark"
style="position: relative;"
>
<div
data-watermark-id="jfei"
style="z-index: 9; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-size: 216px; pointer-events: none; background-repeat: repeat; background-position: -300px -300px; background-image: url('data:image/png;base64,00'); "
/>
</div>
</div>
`;
exports[`Watermark The offset should be correct 1`] = `
<div>
<div
class="watermark"
style="position: relative;"
>
<div
data-watermark-id="7mte-1669650061677"
style="z-index: 9; position: absolute; left: 100px; top: 100px; width: calc(100% - 100px); height: calc(100% - 100px); background-size: 214px; pointer-events: none; background-repeat: repeat; background-position: 0px 0px; background-image: url('data:image/png;base64,00'); "
/>
</div>
</div>
`;
exports[`Watermark The watermark should render successfully 1`] = `
<div>
<div
class="watermark"
style="position: relative;"
>
<div
data-watermark-id="7mte-1669650061677"
style="z-index: 9; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-size: 210px; pointer-events: none; background-repeat: repeat; background-position: 0px 0px; background-image: url('data:image/png;base64,00'); "
/>
</div>
</div>
`;
exports[`Watermark rtl render component should be rendered correctly in RTL direction 1`] = `
<div
style="position: relative;"
>
<div
data-watermark-id="7mte-1669650061677"
style="z-index: 9; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-size: 200px; pointer-events: none; background-repeat: repeat; background-position: 0px 0px; background-image: url('data:image/png;base64,00'); "
/>
</div>
`;