Skip to content

Commit c46b003

Browse files
Update snapshots
1 parent f7ed9e1 commit c46b003

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed

src/ui/widgets/Symbol/__snapshots__/symbol.test.tsx.snap

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,44 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3+
exports[`<Symbol /> from .bob file > matches snapshot (using fallback symbol) 1`] = `
4+
<DocumentFragment>
5+
<div
6+
style="overflow: hidden; text-align: left; width: 100%; height: 100%;"
7+
>
8+
<img
9+
src="https://cs-web-symbol.diamond.ac.uk/catalogue/default.svg"
10+
style="width: 100%; height: 100%; display: block; transform: rotate(0deg) scaleX(1) scaleY(1); object-fit: fill;"
11+
/>
12+
</div>
13+
</DocumentFragment>
14+
`;
15+
16+
exports[`<Symbol /> from .bob file > matches snapshot (with index) 1`] = `
17+
<DocumentFragment>
18+
<div
19+
style="overflow: hidden; text-align: left; width: 100%; height: 100%;"
20+
>
21+
<img
22+
src="img 3.svg"
23+
style="width: 100%; height: 100%; display: block; transform: rotate(0deg) scaleX(1) scaleY(1); object-fit: fill;"
24+
/>
25+
</div>
26+
</DocumentFragment>
27+
`;
28+
29+
exports[`<Symbol /> from .bob file > matches snapshot (without index) 1`] = `
30+
<DocumentFragment>
31+
<div
32+
style="overflow: hidden; text-align: left; width: 100%; height: 100%;"
33+
>
34+
<img
35+
src="img 1.gif"
36+
style="width: 100%; height: 100%; display: block; transform: rotate(0deg) scaleX(1) scaleY(1); object-fit: fill;"
37+
/>
38+
</div>
39+
</DocumentFragment>
40+
`;
41+
342
exports[`<Symbol /> from .bob file matches snapshot (using fallback symbol) 1`] = `
443
<DocumentFragment>
544
<div
@@ -39,6 +78,36 @@ exports[`<Symbol /> from .bob file matches snapshot (without index) 1`] = `
3978
</DocumentFragment>
4079
`;
4180

81+
exports[`<Symbol /> from .opi file > matches snapshot 1`] = `
82+
<DocumentFragment>
83+
<div
84+
style="overflow: hidden; text-align: left; width: 100%; height: 100%;"
85+
>
86+
<img
87+
src="img 1.gif"
88+
style="width: 100%; height: 100%; display: block; transform: rotate(0deg) scaleX(1) scaleY(1); object-fit: fill;"
89+
/>
90+
</div>
91+
<div
92+
class="_SymbolLabel_7b7af1"
93+
style="background-color: transparent; align-items: center; justify-content: center;"
94+
>
95+
<div
96+
style="padding: 5%;"
97+
>
98+
<div
99+
class="Label _Label_c35983"
100+
style="background-color: transparent; cursor: default; justify-content: flex-start; align-items: flex-start;"
101+
>
102+
<span>
103+
Fake value
104+
</span>
105+
</div>
106+
</div>
107+
</div>
108+
</DocumentFragment>
109+
`;
110+
42111
exports[`<Symbol /> from .opi file matches snapshot 1`] = `
43112
<DocumentFragment>
44113
<div

0 commit comments

Comments
 (0)