fix(form): event blur not trigger validate #2202
push.yml
on: push
call-test-build
/
check
7s
call-test-build
/
test
2m 51s
call-test-build
/
site
2m 0s
call-test-build
/
build
4m 2s
Annotations
5 errors
Unhandled error:
src/input/input.tsx#L150
TypeError: Cannot read properties of undefined (reading 'handleBlur')
❯ handleBlur src/input/input.tsx:150:16
❯ callWithErrorHandling node_modules/@vue/runtime-dom/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18
❯ Object.callWithAsyncErrorHandling node_modules/@vue/runtime-dom/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:164:17
❯ HTMLInputElement.invoker node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:598:17
❯ 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
❯ HTMLInputElementImpl.dispatchEvent node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17
❯ HTMLInputElement.dispatchEvent node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34
This error originated in "src/input/__test__/index.test.jsx" 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 ": focus && blur". 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/input/input.tsx#L150
TypeError: Cannot read properties of undefined (reading 'handleBlur')
❯ handleBlur src/input/input.tsx:150:16
❯ callWithErrorHandling node_modules/@vue/runtime-dom/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18
❯ Object.callWithAsyncErrorHandling node_modules/@vue/runtime-dom/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:164:17
❯ HTMLInputElement.invoker node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:598:17
❯ 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
❯ HTMLInputElementImpl.dispatchEvent node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17
❯ HTMLInputElement.dispatchEvent node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34
This error originated in "src/input/__test__/index.test.jsx" 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 ": onBlur". 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/textarea/textarea.tsx#L112
TypeError: Cannot read properties of undefined (reading 'handleBlur')
❯ handleBlur src/textarea/textarea.tsx:112:16
❯ callWithErrorHandling node_modules/@vue/runtime-dom/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:156:18
❯ Object.callWithAsyncErrorHandling node_modules/@vue/runtime-dom/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:164:17
❯ HTMLTextAreaElement.invoker node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js:598:17
❯ HTMLTextAreaElement.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
❯ HTMLTextAreaElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
❯ HTMLTextAreaElementImpl.dispatchEvent node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17
❯ HTMLTextAreaElement.dispatchEvent node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34
This error originated in "src/textarea/__test__/index.test.jsx" 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 ": onBlur". 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.
|
src/textarea/__test__/index.test.jsx > :event > : onBlur:
src/textarea/__test__/index.test.jsx#L83
AssertionError: expected "spy" to be called at least once
❯ src/textarea/__test__/index.test.jsx:83:20
|
call-test-build / test
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
_site
|
2.09 MB |
|
pr
|
135 Bytes |
|