Skip to content

Update tooltip.test.ts #125

Update tooltip.test.ts

Update tooltip.test.ts #125

Triggered via push October 25, 2024 15:44
Status Failure
Total duration 1m 23s
Artifacts

ci.yml

on: push
Test on Node 20
1m 15s
Test on Node 20
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Unhandled error: src/components/tooltip.ts#L143
TypeError: Cannot read properties of undefined (reading 'removeAttribute') ❯ zn ../../../../../node_modules/.vite/deps/@thednp_shorty.js:305:22 ❯ removeTooltip src/components/tooltip.ts:143:2 ❯ tooltipHiddenAction src/components/tooltip.ts:284:6 ❯ HTMLDivElement.<anonymous> src/components/tooltip.ts:4839:22 ❯ HTMLDivElement.a ../../../../../node_modules/.vite/deps/@thednp_shorty.js:461:28 ❯ K ../../../../../node_modules/.vite/deps/@thednp_shorty.js:390:21 ❯ ../../../../../node_modules/.vite/deps/@thednp_shorty.js:464:12
Unhandled error: src/components/tooltip.ts#L143
TypeError: Cannot read properties of undefined (reading 'removeAttribute') ❯ zn ../../../../../node_modules/.vite/deps/@thednp_shorty.js:305:22 ❯ removeTooltip src/components/tooltip.ts:143:2 ❯ tooltipHiddenAction src/components/tooltip.ts:284:6 ❯ HTMLDivElement.<anonymous> src/components/tooltip.ts:4839:22 ❯ HTMLDivElement.a ../../../../../node_modules/.vite/deps/@thednp_shorty.js:461:28
test/tooltip.test.ts > Tooltip Class Tests > Can handle small devices: test/tooltip.test.ts#L529
AssertionError: expected 'tooltip position-fixed fade bs-toolti…' to include 'show' ❯ test/tooltip.test.ts:529:46
Test on Node 20
Process completed with exit code 1.