Update @wordpress/components package #9823
js.yml
on: pull_request
JS Linting
6m 53s
TypeScript Checking
1m 46s
JS Testing
2m 22s
Annotations
11 errors and 3 warnings
TypeScript Checking
Process completed with exit code 2.
|
JS Testing:
assets/blocks/quiz/quiz-block/quiz-settings.test.js#L69
TypeError: (0 , _element.useSyncExternalStore) is not a function
at useMediaQuery (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-media-query/@wordpress/compose/src/hooks/use-media-query/index.js:69:29)
at useReducedMotion (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-reduced-motion/@wordpress/compose/src/hooks/use-reduced-motion/index.js:12:15)
at UnforwardedPanelBody (/home/runner/work/***/***/node_modules/@wordpress/components/build/panel/@wordpress/components/src/panel/body.tsx:50:41)
at renderWithHooks (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:338:25)
at invokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:274:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:221:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:231:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at /home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at /home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:99:25
at batchedUpdates$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (/home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:95:26)
at Object.<anonymous> (/home/runner/work/***/***/assets/blocks/quiz/quiz-block/quiz-settings.test.js:81:59)
at Promise.then.completed (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:391:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/***/***/no
|
JS Testing:
assets/blocks/quiz/quiz-block/quiz-settings.test.js#L69
TypeError: (0 , _element.useSyncExternalStore) is not a function
at useMediaQuery (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-media-query/@wordpress/compose/src/hooks/use-media-query/index.js:69:29)
at useReducedMotion (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-reduced-motion/@wordpress/compose/src/hooks/use-reduced-motion/index.js:12:15)
at UnforwardedPanelBody (/home/runner/work/***/***/node_modules/@wordpress/components/build/panel/@wordpress/components/src/panel/body.tsx:50:41)
at renderWithHooks (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:338:25)
at invokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:274:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:221:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:231:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at /home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at /home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:99:25
at batchedUpdates$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (/home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:95:26)
at Object.<anonymous> (/home/runner/work/***/***/assets/blocks/quiz/quiz-block/quiz-settings.test.js:114:38)
at Promise.then.completed (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:391:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/***/***/n
|
JS Testing:
assets/blocks/quiz/quiz-block/quiz-settings.test.js#L69
TypeError: (0 , _element.useSyncExternalStore) is not a function
at useMediaQuery (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-media-query/@wordpress/compose/src/hooks/use-media-query/index.js:69:29)
at useReducedMotion (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-reduced-motion/@wordpress/compose/src/hooks/use-reduced-motion/index.js:12:15)
at UnforwardedPanelBody (/home/runner/work/***/***/node_modules/@wordpress/components/build/panel/@wordpress/components/src/panel/body.tsx:50:41)
at renderWithHooks (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:338:25)
at invokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:274:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:221:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:231:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at /home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at /home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:99:25
at batchedUpdates$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (/home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:95:26)
at Object.<anonymous> (/home/runner/work/***/***/assets/blocks/quiz/quiz-block/quiz-settings.test.js:129:38)
at Promise.then.completed (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:391:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/***/***/n
|
JS Testing:
assets/blocks/quiz/quiz-block/quiz-settings.test.js#L69
TypeError: (0 , _element.useSyncExternalStore) is not a function
at useMediaQuery (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-media-query/@wordpress/compose/src/hooks/use-media-query/index.js:69:29)
at useReducedMotion (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-reduced-motion/@wordpress/compose/src/hooks/use-reduced-motion/index.js:12:15)
at UnforwardedPanelBody (/home/runner/work/***/***/node_modules/@wordpress/components/build/panel/@wordpress/components/src/panel/body.tsx:50:41)
at renderWithHooks (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:338:25)
at invokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:274:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:221:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:231:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at /home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at /home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:99:25
at batchedUpdates$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (/home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:95:26)
at Object.<anonymous> (/home/runner/work/***/***/assets/blocks/quiz/quiz-block/quiz-settings.test.js:137:59)
at Promise.then.completed (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:391:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/***/***/n
|
JS Testing:
assets/blocks/quiz/quiz-block/quiz-settings.test.js#L69
TypeError: (0 , _element.useSyncExternalStore) is not a function
at useMediaQuery (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-media-query/@wordpress/compose/src/hooks/use-media-query/index.js:69:29)
at useReducedMotion (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-reduced-motion/@wordpress/compose/src/hooks/use-reduced-motion/index.js:12:15)
at UnforwardedPanelBody (/home/runner/work/***/***/node_modules/@wordpress/components/build/panel/@wordpress/components/src/panel/body.tsx:50:41)
at renderWithHooks (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:338:25)
at invokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:274:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:221:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:231:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at /home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at /home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:99:25
at batchedUpdates$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (/home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:95:26)
at Object.<anonymous> (/home/runner/work/***/***/assets/blocks/quiz/quiz-block/quiz-settings.test.js:198:34)
at Promise.then.completed (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:391:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/***/***/n
|
JS Testing:
assets/blocks/quiz/quiz-block/quiz-settings.test.js#L69
TypeError: (0 , _element.useSyncExternalStore) is not a function
at useMediaQuery (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-media-query/@wordpress/compose/src/hooks/use-media-query/index.js:69:29)
at useReducedMotion (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-reduced-motion/@wordpress/compose/src/hooks/use-reduced-motion/index.js:12:15)
at UnforwardedPanelBody (/home/runner/work/***/***/node_modules/@wordpress/components/build/panel/@wordpress/components/src/panel/body.tsx:50:41)
at renderWithHooks (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:338:25)
at invokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:274:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:221:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:231:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at /home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at /home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:99:25
at batchedUpdates$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (/home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:95:26)
at Object.<anonymous> (/home/runner/work/***/***/assets/blocks/quiz/quiz-block/quiz-settings.test.js:210:38)
at Promise.then.completed (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:391:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/***/***/n
|
JS Testing:
assets/blocks/learner-courses-block/learner-courses-settings.test.js#L69
TypeError: (0 , _element.useSyncExternalStore) is not a function
at useMediaQuery (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-media-query/@wordpress/compose/src/hooks/use-media-query/index.js:69:29)
at useReducedMotion (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-reduced-motion/@wordpress/compose/src/hooks/use-reduced-motion/index.js:12:15)
at UnforwardedPanelBody (/home/runner/work/***/***/node_modules/@wordpress/components/build/panel/@wordpress/components/src/panel/body.tsx:50:41)
at renderWithHooks (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:338:25)
at invokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:274:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:221:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:231:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at /home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at /home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:99:25
at batchedUpdates$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (/home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:95:26)
at Object.<anonymous> (/home/runner/work/***/***/assets/blocks/learner-courses-block/learner-courses-settings.test.js:35:13)
at Promise.then.completed (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:391:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runne
|
JS Testing:
assets/blocks/learner-courses-block/learner-courses-settings.test.js#L69
TypeError: (0 , _element.useSyncExternalStore) is not a function
at useMediaQuery (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-media-query/@wordpress/compose/src/hooks/use-media-query/index.js:69:29)
at useReducedMotion (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-reduced-motion/@wordpress/compose/src/hooks/use-reduced-motion/index.js:12:15)
at UnforwardedPanelBody (/home/runner/work/***/***/node_modules/@wordpress/components/build/panel/@wordpress/components/src/panel/body.tsx:50:41)
at renderWithHooks (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:338:25)
at invokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:274:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:221:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:231:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at /home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at /home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:99:25
at batchedUpdates$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (/home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:95:26)
at Object.<anonymous> (/home/runner/work/***/***/assets/blocks/learner-courses-block/learner-courses-settings.test.js:91:13)
at Promise.then.completed (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:391:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runne
|
JS Testing:
assets/blocks/learner-courses-block/learner-courses-settings.test.js#L69
TypeError: (0 , _element.useSyncExternalStore) is not a function
at useMediaQuery (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-media-query/@wordpress/compose/src/hooks/use-media-query/index.js:69:29)
at useReducedMotion (/home/runner/work/***/***/node_modules/@wordpress/components/node_modules/@wordpress/compose/build/hooks/use-reduced-motion/@wordpress/compose/src/hooks/use-reduced-motion/index.js:12:15)
at UnforwardedPanelBody (/home/runner/work/***/***/node_modules/@wordpress/components/build/panel/@wordpress/components/src/panel/body.tsx:50:41)
at renderWithHooks (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:338:25)
at invokeEventListeners (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:274:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:221:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/***/***/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:231:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at /home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at /home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:99:25
at batchedUpdates$1 (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (/home/runner/work/***/***/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (/home/runner/work/***/***/node_modules/@testing-library/react/dist/pure.js:95:26)
at Object.<anonymous> (/home/runner/work/***/***/assets/blocks/learner-courses-block/learner-courses-settings.test.js:151:33)
at Promise.then.completed (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:391:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runn
|
JS Testing:
assets/admin/students/student-action-menu/index.test.js#L37
TestingLibraryElementError: Unable to find an element with the text: Add to Course. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
<body>
<p
class="a11y-speak-intro-text"
hidden="hidden"
id="a11y-speak-intro-text"
style="position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"
>
Notifications
</p>
<div
aria-atomic="true"
aria-live="assertive"
aria-relevant="additions text"
class="a11y-speak-region"
id="a11y-speak-assertive"
style="position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"
/>
<div
aria-atomic="true"
aria-live="polite"
aria-relevant="additions text"
class="a11y-speak-region"
id="a11y-speak-polite"
style="position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"
/>
<div>
<div
class="components-dropdown components-dropdown-menu"
tabindex="-1"
>
<button
aria-expanded="false"
aria-haspopup="true"
aria-label="Select an action"
class="components-button components-dropdown-menu__toggle has-icon"
type="button"
>
<svg
aria-hidden="true"
focusable="false"
size="24"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"
/>
</svg>
</button>
</div>
</div>
</body>
at Object.getElementError (/home/runner/work/***/***/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/***/***/node_modules/@testing-library/dom/dist/query-helpers.js:90:38
at /home/runner/work/***/***/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
at getByText (/home/runner/work/***/***/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
at Object.<anonymous> (/home/runner/work/***/***/assets/admin/students/student-action-menu/index.test.js:47:27)
at Promise.then.completed (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:391:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:316:10)
at _callCircusTest (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:218:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:155:3)
at _runTestsForDescribeBlock (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:66:9)
at _runTestsForDescribeBlock (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:60:9)
at run (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:
|
TypeScript Checking
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
JS Testing
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
JS Linting
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|