Skip to content

Update react monorepo to v19 (major) #24445

Update react monorepo to v19 (major)

Update react monorepo to v19 (major) #24445

Triggered via pull request December 6, 2024 13:52
Status Failure
Total duration 2m 31s
Artifacts
Matrix: javascript-test
javascript-test-results
0s
javascript-test-results
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 13 warnings
preserves order of insertion: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:291:28)
resets selected items correctly: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:402:28)
manipulates item counts correctly: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:145:28)
appends items with addons with a stable order: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:579:28)
appends items with addons as expected: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:476:28)
increases item units with addons correctly: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:674:28)
appends items as expected: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:31:28)
renders and behaves as expected - custom children with focus: src/sx-design/src/test-utils.js#L39
A React Element from an older version of React was rendered. This is not supported. It can happen if: - Multiple copies of the "react" package is used. - A library pre-bundled an old copy of "react" or "react/jsx-runtime". - A compiler tries to "inline" JSX instead of using the runtime. at throwOnInvalidObjectType (../../node_modules/react-dom/cjs/react-dom-client.development.js:4442:15) at reconcileChildFibersImpl (../../node_modules/react-dom/cjs/react-dom-client.development.js:5376:11) at ../../node_modules/react-dom/cjs/react-dom-client.development.js:5415:33 at reconcileChildren (../../node_modules/react-dom/cjs/react-dom-client.development.js:7738:13) at beginWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:9951:13) at runWithFiberInDEV (../../node_modules/react-dom/cjs/react-dom-client.development.js:543:16) at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:15052:22) at workLoopSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14870:41) at renderRootSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14850:11) at performWorkOnRoot (../../node_modules/react-dom/cjs/react-dom-client.development.js:14384:44) at performWorkOnRootViaSchedulerTask (../../node_modules/react-dom/cjs/react-dom-client.development.js:15931:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25 at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26) at render (../../node_modules/@testing-library/react/dist/pure.js:271:10) at renderWithProviders (src/test-utils.js:39:32) at _callee3$ (src/Tooltip/__tests__/Tooltip.test.js:67:44) at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16) at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17) at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21) at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9) at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7 at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
renders and behaves as expected - custom children with mouse hover: src/sx-design/src/test-utils.js#L39
A React Element from an older version of React was rendered. This is not supported. It can happen if: - Multiple copies of the "react" package is used. - A library pre-bundled an old copy of "react" or "react/jsx-runtime". - A compiler tries to "inline" JSX instead of using the runtime. at throwOnInvalidObjectType (../../node_modules/react-dom/cjs/react-dom-client.development.js:4442:15) at reconcileChildFibersImpl (../../node_modules/react-dom/cjs/react-dom-client.development.js:5376:11) at ../../node_modules/react-dom/cjs/react-dom-client.development.js:5415:33 at reconcileChildren (../../node_modules/react-dom/cjs/react-dom-client.development.js:7738:13) at beginWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:9951:13) at runWithFiberInDEV (../../node_modules/react-dom/cjs/react-dom-client.development.js:543:16) at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:15052:22) at workLoopSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14870:41) at renderRootSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14850:11) at performWorkOnRoot (../../node_modules/react-dom/cjs/react-dom-client.development.js:14384:44) at performWorkOnRootViaSchedulerTask (../../node_modules/react-dom/cjs/react-dom-client.development.js:15931:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25 at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26) at render (../../node_modules/@testing-library/react/dist/pure.js:271:10) at renderWithProviders (src/test-utils.js:39:32) at _callee2$ (src/Tooltip/__tests__/Tooltip.test.js:42:44) at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16) at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17) at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21) at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9) at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7 at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
closes on ESC press: src/sx-design/src/test-utils.js#L39
A React Element from an older version of React was rendered. This is not supported. It can happen if: - Multiple copies of the "react" package is used. - A library pre-bundled an old copy of "react" or "react/jsx-runtime". - A compiler tries to "inline" JSX instead of using the runtime. at throwOnInvalidObjectType (../../node_modules/react-dom/cjs/react-dom-client.development.js:4442:15) at reconcileChildFibersImpl (../../node_modules/react-dom/cjs/react-dom-client.development.js:5376:11) at ../../node_modules/react-dom/cjs/react-dom-client.development.js:5415:33 at reconcileChildren (../../node_modules/react-dom/cjs/react-dom-client.development.js:7738:13) at beginWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:9951:13) at runWithFiberInDEV (../../node_modules/react-dom/cjs/react-dom-client.development.js:543:16) at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:15052:22) at workLoopSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14870:41) at renderRootSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14850:11) at performWorkOnRoot (../../node_modules/react-dom/cjs/react-dom-client.development.js:14384:44) at performWorkOnRootViaSchedulerTask (../../node_modules/react-dom/cjs/react-dom-client.development.js:15931:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25 at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26) at render (../../node_modules/@testing-library/react/dist/pure.js:271:10) at renderWithProviders (src/test-utils.js:39:32) at _callee4$ (src/Tooltip/__tests__/Tooltip.test.js:98:57) at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16) at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17) at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21) at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9) at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7 at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
manipulates item counts correctly: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:145:28)
appends items with addons as expected: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:476:28)
preserves order of insertion: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:291:28)
increases item units with addons correctly: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:674:28)
appends items as expected: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:31:28)
appends items with addons with a stable order: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:579:28)
resets selected items correctly: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:402:28)
handles clicks as expected: src/sx-design/src/test-utils.js#L39
A React Element from an older version of React was rendered. This is not supported. It can happen if: - Multiple copies of the "react" package is used. - A library pre-bundled an old copy of "react" or "react/jsx-runtime". - A compiler tries to "inline" JSX instead of using the runtime. at throwOnInvalidObjectType (../../node_modules/react-dom/cjs/react-dom-client.development.js:4442:15) at reconcileChildFibersImpl (../../node_modules/react-dom/cjs/react-dom-client.development.js:5376:11) at ../../node_modules/react-dom/cjs/react-dom-client.development.js:5415:33 at reconcileChildren (../../node_modules/react-dom/cjs/react-dom-client.development.js:7738:13) at beginWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:9951:13) at runWithFiberInDEV (../../node_modules/react-dom/cjs/react-dom-client.development.js:543:16) at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:15052:22) at workLoopSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14870:41) at renderRootSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14850:11) at performWorkOnRoot (../../node_modules/react-dom/cjs/react-dom-client.development.js:14384:44) at performWorkOnRootViaSchedulerTask (../../node_modules/react-dom/cjs/react-dom-client.development.js:15931:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25 at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26) at render (../../node_modules/@testing-library/react/dist/pure.js:271:10) at renderWithProviders (src/test-utils.js:39:32) at _callee$ (src/Tabs/__tests__/Tabs.test.js:103:31) at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16) at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17) at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21) at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9) at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7 at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
supports null and number values: src/sx-design/src/test-utils.js#L39
A React Element from an older version of React was rendered. This is not supported. It can happen if: - Multiple copies of the "react" package is used. - A library pre-bundled an old copy of "react" or "react/jsx-runtime". - A compiler tries to "inline" JSX instead of using the runtime. at throwOnInvalidObjectType (../../node_modules/react-dom/cjs/react-dom-client.development.js:4442:15) at reconcileChildFibersImpl (../../node_modules/react-dom/cjs/react-dom-client.development.js:5376:11) at ../../node_modules/react-dom/cjs/react-dom-client.development.js:5415:33 at reconcileChildren (../../node_modules/react-dom/cjs/react-dom-client.development.js:7738:13) at beginWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:9951:13) at runWithFiberInDEV (../../node_modules/react-dom/cjs/react-dom-client.development.js:543:16) at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:15052:22) at workLoopSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14870:41) at renderRootSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14850:11) at performWorkOnRoot (../../node_modules/react-dom/cjs/react-dom-client.development.js:14384:44) at performWorkOnRootViaSchedulerTask (../../node_modules/react-dom/cjs/react-dom-client.development.js:15931:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25 at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26) at render (../../node_modules/@testing-library/react/dist/pure.js:271:10) at renderWithProviders (src/test-utils.js:39:32) at _callee2$ (src/Tabs/__tests__/Tabs.test.js:117:31) at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16) at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17) at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21) at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9) at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7 at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
correctly handles focus when navigating with right arrow ->: src/sx-design/src/test-utils.js#L39
A React Element from an older version of React was rendered. This is not supported. It can happen if: - Multiple copies of the "react" package is used. - A library pre-bundled an old copy of "react" or "react/jsx-runtime". - A compiler tries to "inline" JSX instead of using the runtime. at throwOnInvalidObjectType (../../node_modules/react-dom/cjs/react-dom-client.development.js:4442:15) at reconcileChildFibersImpl (../../node_modules/react-dom/cjs/react-dom-client.development.js:5376:11) at ../../node_modules/react-dom/cjs/react-dom-client.development.js:5415:33 at reconcileChildren (../../node_modules/react-dom/cjs/react-dom-client.development.js:7738:13) at beginWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:9951:13) at runWithFiberInDEV (../../node_modules/react-dom/cjs/react-dom-client.development.js:543:16) at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:15052:22) at workLoopSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14870:41) at renderRootSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14850:11) at performWorkOnRoot (../../node_modules/react-dom/cjs/react-dom-client.development.js:14384:44) at performWorkOnRootViaSchedulerTask (../../node_modules/react-dom/cjs/react-dom-client.development.js:15931:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25 at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26) at render (../../node_modules/@testing-library/react/dist/pure.js:271:10) at renderWithProviders (src/test-utils.js:39:32) at _callee3$ (src/Tabs/__tests__/Tabs.test.js:131:33) at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16) at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17) at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21) at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9) at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7 at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
appends items with addons as expected: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:476:28)
increases item units with addons correctly: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:674:28)
appends items with addons with a stable order: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:579:28)
preserves order of insertion: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:291:28)
appends items as expected: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:31:28)
manipulates item counts correctly: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:145:28)
resets selected items correctly: src/abacus-backoffice/src/pos/recoil/selectedItemsState.js#L102
TypeError: Cannot destructure property 'ReactCurrentDispatcher' of 'react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined. at currentRendererSupportsUseSyncExternalStore (../../node_modules/recoil/cjs/index.js:511:5) at useRecoilValueLoadable (../../node_modules/recoil/cjs/index.js:5359:26) at useRecoilValue (../../node_modules/recoil/cjs/index.js:5378:20) at useRecoilState (../../node_modules/recoil/cjs/index.js:5426:11) at useSelectedItemsApi (src/pos/recoil/selectedItemsState.js:102:59) at _renderHook.wrapper (src/pos/recoil/__tests__/selectedItemsState.test.js:16:58) at TestComponent (../../node_modules/@testing-library/react-hooks/lib/helpers/createTestHarness.js:25:14) at Object.react-stack-bottom-frame (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12679:20) at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:3622:25) at updateFunctionComponent (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5635:19) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7086:18) at runWithFiberInDEV (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:540:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10925:22) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10763:41) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10744:11) at performWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10299:39) at performWorkOnRootViaSchedulerTask (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1879:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at render (../../node_modules/@testing-library/react-hooks/lib/native/pure.js:73:34) at renderHook (../../node_modules/@testing-library/react-hooks/lib/core/index.js:114:5) at renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:16:32) at Object.renderSelectedItemsHook (src/pos/recoil/__tests__/selectedItemsState.test.js:402:28)
supports null and number values: src/sx-design/src/test-utils.js#L39
A React Element from an older version of React was rendered. This is not supported. It can happen if: - Multiple copies of the "react" package is used. - A library pre-bundled an old copy of "react" or "react/jsx-runtime". - A compiler tries to "inline" JSX instead of using the runtime. at throwOnInvalidObjectType (../../node_modules/react-dom/cjs/react-dom-client.development.js:4442:15) at reconcileChildFibersImpl (../../node_modules/react-dom/cjs/react-dom-client.development.js:5376:11) at ../../node_modules/react-dom/cjs/react-dom-client.development.js:5415:33 at reconcileChildren (../../node_modules/react-dom/cjs/react-dom-client.development.js:7738:13) at beginWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:9951:13) at runWithFiberInDEV (../../node_modules/react-dom/cjs/react-dom-client.development.js:543:16) at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:15052:22) at workLoopSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14870:41) at renderRootSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14850:11) at performWorkOnRoot (../../node_modules/react-dom/cjs/react-dom-client.development.js:14384:44) at performWorkOnRootViaSchedulerTask (../../node_modules/react-dom/cjs/react-dom-client.development.js:15931:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25 at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26) at render (../../node_modules/@testing-library/react/dist/pure.js:271:10) at renderWithProviders (src/test-utils.js:39:32) at _callee2$ (src/Tabs/__tests__/Tabs.test.js:117:31) at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16) at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17) at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21) at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9) at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7 at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
correctly handles focus when navigating with left arrow <-: src/sx-design/src/test-utils.js#L39
A React Element from an older version of React was rendered. This is not supported. It can happen if: - Multiple copies of the "react" package is used. - A library pre-bundled an old copy of "react" or "react/jsx-runtime". - A compiler tries to "inline" JSX instead of using the runtime. at throwOnInvalidObjectType (../../node_modules/react-dom/cjs/react-dom-client.development.js:4442:15) at reconcileChildFibersImpl (../../node_modules/react-dom/cjs/react-dom-client.development.js:5376:11) at ../../node_modules/react-dom/cjs/react-dom-client.development.js:5415:33 at reconcileChildren (../../node_modules/react-dom/cjs/react-dom-client.development.js:7738:13) at beginWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:9951:13) at runWithFiberInDEV (../../node_modules/react-dom/cjs/react-dom-client.development.js:543:16) at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:15052:22) at workLoopSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14870:41) at renderRootSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14850:11) at performWorkOnRoot (../../node_modules/react-dom/cjs/react-dom-client.development.js:14384:44) at performWorkOnRootViaSchedulerTask (../../node_modules/react-dom/cjs/react-dom-client.development.js:15931:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25 at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26) at render (../../node_modules/@testing-library/react/dist/pure.js:271:10) at renderWithProviders (src/test-utils.js:39:32) at _callee4$ (src/Tabs/__tests__/Tabs.test.js:166:33) at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16) at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17) at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21) at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9) at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7 at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
handles clicks as expected: src/sx-design/src/test-utils.js#L39
A React Element from an older version of React was rendered. This is not supported. It can happen if: - Multiple copies of the "react" package is used. - A library pre-bundled an old copy of "react" or "react/jsx-runtime". - A compiler tries to "inline" JSX instead of using the runtime. at throwOnInvalidObjectType (../../node_modules/react-dom/cjs/react-dom-client.development.js:4442:15) at reconcileChildFibersImpl (../../node_modules/react-dom/cjs/react-dom-client.development.js:5376:11) at ../../node_modules/react-dom/cjs/react-dom-client.development.js:5415:33 at reconcileChildren (../../node_modules/react-dom/cjs/react-dom-client.development.js:7738:13) at beginWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:9951:13) at runWithFiberInDEV (../../node_modules/react-dom/cjs/react-dom-client.development.js:543:16) at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom-client.development.js:15052:22) at workLoopSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14870:41) at renderRootSync (../../node_modules/react-dom/cjs/react-dom-client.development.js:14850:11) at performWorkOnRoot (../../node_modules/react-dom/cjs/react-dom-client.development.js:14384:44) at performWorkOnRootViaSchedulerTask (../../node_modules/react-dom/cjs/react-dom-client.development.js:15931:7) at flushActQueue (../../node_modules/react/cjs/react.development.js:862:34) at Object.<anonymous>.process.env.NODE_ENV.exports.act (../../node_modules/react/cjs/react.development.js:1151:10) at ../../node_modules/@testing-library/react/dist/act-compat.js:47:25 at renderRoot (../../node_modules/@testing-library/react/dist/pure.js:180:26) at render (../../node_modules/@testing-library/react/dist/pure.js:271:10) at renderWithProviders (src/test-utils.js:39:32) at _callee$ (src/Tabs/__tests__/Tabs.test.js:103:31) at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16) at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17) at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21) at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17) at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9) at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7 at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
javascript-test-results
Process completed with exit code 1.
javascript-test (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
javascript-test (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
javascript-test (21.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
javascript-test-results
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636