update type #129
Annotations
2 errors
test/get.test.ts > Shorty Library Tests - GET > Test get folder:
test/get.test.ts#L305
AssertionError: getSVGOffset: expected { offsetTop: 28.999107360839844, …(4) } to deeply equal { offsetWidth: 7.00152587890625, …(4) }
- Expected
+ Received
Object {
"offsetHeight": 7.00152587890625,
- "offsetLeft": 273.4991149902344,
+ "offsetLeft": 288.4991149902344,
"offsetParent": <div
class="alert alert-warning alert-dismissible fade show"
data-bs-op1="false"
data-bs-op2="true"
data-bs-op3="10"
data-bs-title=""
id="alertDemo"
role="alert"
style=""
>
<button
aria-label="Close"
class="btn-close bg-none"
data-bs-dismiss="alert"
data-bs-target="alertDemo"
role="button"
type="button"
>
<svg
viewBox="0 0 16 16"
>
<path
d="M4.646 4.646a0.5 0.5 0 0 1 0.708 0L8 7.293l2.646 -2.647a0.5 0.5 0 0 1 0.708 0.708L8.707 8l2.647 2.646a0.5 0.5 0 0 1 -0.708 0.708L8 8.707l-2.646 2.647A0.5 0.5 0 0 1 4.646 10.646L7.293 8L4.646 5.354a0.5 0.5 0 0 1 0 -0.708z"
name="x"
/>
<svg
class="nested-svg"
viewBox="0 0 16 16"
>
<path
d="M4.646 4.646a0.5 0.5 0 0 1 0.708 0L8 7.293l2.646 -2.647a0.5 0.5 0 0 1 0.708 0.708L8.707 8l2.647 2.646a0.5 0.5 0 0 1 -0.708 0.708L8 8.707l-2.646 2.647A0.5 0.5 0 0 1 4.646 10.646L7.293 8L4.646 5.354a0.5 0.5 0 0 1 0 -0.708z"
name="x"
/>
</svg>
</svg>
This is button
</button>
<p>
<b>
Holy guacamole!
</b>
Best check yo self, you're not looking too good.
</p>
<button
class="btn btn-outline-secondary"
>
ReadMore
</button>
<img
alt="Image"
src="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgODAgNDMiIHdpZHRoPSI4MCIgaGVpZ2h0PSI0MyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgICAgICAgICAgICAgICAgIDxyZWN0IGZpbGw9IndoaXRlIiBzdHJva2U9IiNjY2MiIHN0cm9rZS13aWR0aD0iMSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgcng9IjUiPjwvcmVjdD4NCiAgICAgICAgICAgICAgICAgIDx0ZXh0IGRpcmVjdGlvbj0ibHRyIiBmaWxsPSIjMzMzIiB4PSIyNSIgeT0iMjUiIGZvbnQtc2l6ZT0iMTQiPklNRzwvdGV4dD4NCiAgICAgICAgICAgICAgICA8L3N2Zz4="
/>
</div>,
- "offsetTop": 30.639732360839844,
+ "offsetTop": 28.999107360839844,
"offsetWidth": 7.00152587890625,
}
❯ test/get.test.ts:305:59
|
Test on Node 20
Process completed with exit code 1.
|