Skip to content

Draft: Large item count performance #401

Draft: Large item count performance

Draft: Large item count performance #401

Triggered via pull request August 23, 2024 00:47
Status Failure
Total duration 1m 5s
Artifacts

unit-tests.yml

on: pull_request
test-unit
57s
test-unit
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Unhandled error: src/scripts/components/container.ts#L96
TypeError: Cannot read properties of undefined (reading 'element') ❯ addFocusState src/scripts/components/container.ts:96:10 ❯ _Choices._onFocus src/scripts/choices.ts:2006:9 ❯ HTMLInputElement.callTheUserObjectsOperation node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3 ❯ HTMLInputElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9 ❯ Object.exports.fireFocusEventWithTargetAdjustment node_modules/jsdom/lib/jsdom/living/helpers/focusing.js:103:10 ❯ HTMLInputElementImpl.focus node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js:68:14 ❯ HTMLInputElement.focus node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js:128:34 ❯ Input.focus src/scripts/components/input.ts:90:20 This error originated in "test/scripts/choices.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "focuses input". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/scripts/components/container.ts#L96
TypeError: Cannot read properties of undefined (reading 'element') ❯ addFocusState src/scripts/components/container.ts:96:10 ❯ _Choices._onFocus src/scripts/choices.ts:2013:9 ❯ HTMLInputElement.callTheUserObjectsOperation node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3 ❯ HTMLInputElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9 ❯ Object.exports.fireFocusEventWithTargetAdjustment node_modules/jsdom/lib/jsdom/living/helpers/focusing.js:103:10 ❯ HTMLInputElementImpl.focus node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js:68:14 ❯ HTMLInputElement.focus node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js:128:34 ❯ Input.focus src/scripts/components/input.ts:90:20 This error originated in "test/scripts/choices.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "details are passed". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/scripts/components/container.ts#L96
TypeError: Cannot read properties of undefined (reading 'element') ❯ addFocusState src/scripts/components/container.ts:96:10 ❯ _Choices._onFocus src/scripts/choices.ts:2013:9 ❯ HTMLInputElement.callTheUserObjectsOperation node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3 ❯ HTMLInputElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9 ❯ Object.exports.fireFocusEventWithTargetAdjustment node_modules/jsdom/lib/jsdom/living/helpers/focusing.js:103:10 ❯ HTMLInputElementImpl.focus node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js:68:14 ❯ HTMLInputElement.focus node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js:128:34 ❯ Input.focus src/scripts/components/input.ts:90:20 This error originated in "test/scripts/choices.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "uses Fuse options". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/scripts/components/container.ts#L96
TypeError: Cannot read properties of undefined (reading 'element') ❯ addFocusState src/scripts/components/container.ts:96:10 ❯ _Choices._onFocus src/scripts/choices.ts:2013:9 ❯ HTMLInputElement.callTheUserObjectsOperation node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3 ❯ HTMLInputElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9 ❯ Object.exports.fireFocusEventWithTargetAdjustment node_modules/jsdom/lib/jsdom/living/helpers/focusing.js:103:10 ❯ HTMLInputElementImpl.focus node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js:68:14 ❯ HTMLInputElement.focus node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js:128:34 ❯ Input.focus src/scripts/components/input.ts:90:20 This error originated in "test/scripts/choices.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "is fired with a searchFloor of 0". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/scripts/components/container.ts#L96
TypeError: Cannot read properties of undefined (reading 'element') ❯ addFocusState src/scripts/components/container.ts:96:10 ❯ _Choices._onFocus src/scripts/choices.ts:2013:9 ❯ HTMLInputElement.callTheUserObjectsOperation node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3 ❯ HTMLInputElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9 ❯ Object.exports.fireFocusEventWithTargetAdjustment node_modules/jsdom/lib/jsdom/living/helpers/focusing.js:103:10 ❯ HTMLInputElementImpl.focus node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js:68:14 ❯ HTMLInputElement.focus node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js:128:34 ❯ Input.focus src/scripts/components/input.ts:90:20 This error originated in "test/scripts/choices.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "details are passed". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/scripts/components/container.ts#L96
TypeError: Cannot read properties of undefined (reading 'element') ❯ addFocusState src/scripts/components/container.ts:96:10 ❯ _Choices._onFocus src/scripts/choices.ts:2013:9 ❯ HTMLInputElement.callTheUserObjectsOperation node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3 ❯ HTMLInputElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9 ❯ Object.exports.fireFocusEventWithTargetAdjustment node_modules/jsdom/lib/jsdom/living/helpers/focusing.js:103:10 ❯ HTMLInputElementImpl.focus node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js:68:14 ❯ HTMLInputElement.focus node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js:128:34 ❯ Input.focus src/scripts/components/input.ts:90:20 This error originated in "test/scripts/choices.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "is fired with a searchFloor of 0". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
test-unit
Process completed with exit code 1.