Add some native HTML attributes to perspective-react
#1151
Annotations
2 errors and 1 notice
|
tools/perspective-test/src/js/utils.ts#L170
1) [perspective-viewer-d3fc-desktop-chrome] › packages/perspective-viewer-d3fc/test/js/max_cells.spec.ts:17:5 › max_cells › max_cells can be statically configured
Error: expect(string).toMatchSnapshot(expected)
@@ -24,11 +24,11 @@
></rect>
<text
x="67.01875"
y="161.75"
style="font-size: 14px; z-index: 5; pointer-events: none"
- dx="-4.21875"
+ dx="-4.203125"
dy="4"
>
0
</text>
</g>
@@ -39,11 +39,11 @@
></rect>
<text
x="269.57500000000005"
y="161.75"
style="font-size: 14px; z-index: 5; pointer-events: none"
- dx="-4.21875"
+ dx="-4.203125"
dy="4"
>
1
</text>
</g>
@@ -54,11 +54,11 @@
></rect>
<text
x="202.05625"
y="486.25"
style="font-size: 14px; z-index: 5; pointer-events: none"
- dx="-4.21875"
+ dx="-4.203125"
dy="4"
>
2
</text>
</g>
@@ -69,11 +69,11 @@
></rect>
<text
x="708.4468750000001"
y="143.72222222222223"
style="font-size: 14px; z-index: 5; pointer-events: none"
- dx="-4.21875"
+ dx="-4.203125"
dy="4"
>
3
</text>
</g>
@@ -88,11 +88,11 @@
></rect>
<text
x="708.4468750000001"
y="468.22222222222223"
style="font-size: 14px; z-index: 5; pointer-events: none"
- dx="-4.21875"
+ dx="-4.203125"
dy="4"
>
4
</text>
</g>
Expected: /home/runner/work/perspective/perspective/tools/perspective-test/dist/snapshots/perspective-viewer-d3fc-desktop-chrome/max_cells.spec.ts/max-cells-can-be-statically-linked.txt
Received: /home/runner/work/perspective/perspective/tools/perspective-test/dist/results/max_cells-max-cells-max-cells-can-be-statically-configured-perspective-viewer-d3fc-desktop-chrome/max-cells-can-be-statically-linked-actual.txt
at src/js/utils.ts:170
168 | });
169 |
> 170 | await expect(formatted).toMatchSnapshot(snapshotPath);
| ^
171 | }
172 |
173 | export async function compareSVGContentsToSnapshot(
at compareContentsToSnapshot (/home/runner/work/perspective/perspective/tools/perspective-test/src/js/utils.ts:170:29)
|
|
The logs for this run have expired and are no longer available.
Loading