Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Upgrade manager to react 18 #21673

Closed

Conversation

agriffis
Copy link
Contributor

@agriffis agriffis commented Mar 18, 2023

Closes #20378 #22217

What i did:

Upgrade react and some testing deps then fix the fallout.

Checklist

  • Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests)
  • Make sure to add/update documentation regarding your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Maintainers

  • If this PR should be tested against many or all sandboxes,
    make sure to add the ci:merged or ci:daily GH label to it.
  • Make sure this PR contains one of the labels below.

["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]

@agriffis agriffis marked this pull request as draft March 18, 2023 21:04
@agriffis
Copy link
Contributor Author

agriffis commented Mar 18, 2023

For your reading pleasure, the test suite output

Click for output of `yarn test`
FAIL lib/preview-api lib/preview-api/src/modules/preview-web/PreviewWeb.integration.test.ts
  ● PreviewWeb › initial render › renders docs mode through docs page

    error: Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot

      38 |
      39 | const throwMessage = (type: any, message: any) => {
    > 40 |   const error = new Error(`${type}${message}`);
         |                 ^
      41 |   if (!ignoreList.reduce((acc, item) => acc || item(error), false)) {
      42 |     throw error;
      43 |   }

      at throwMessage (../../jest.init.base.ts:40:17)
      at console.throwMessage [as error] (../../jest.init.base.ts:46:38)
      at printWarning (../../node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (../../node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at Object.render (../../node_modules/react-dom/cjs/react-dom.development.js:29670:5)
      at render (../react-dom-shim/dist/react-16.js:40:30)
      at renderElement (../react-dom-shim/dist/react-16.js:39:10)
      at ../../addons/docs/dist/index.js:76:51
      at renderDocs (src/modules/preview-web/render/CsfDocsRender.ts:131:9)

  ● PreviewWeb › initial render › renders docs mode through docs page

    Event was not emitted in time: storyRendered,docsRendered,storyThrewException,storyErrored,storyMissing

      166 |     // Don't wait too long
      167 |     waitForQuiescence().then(() =>
    > 168 |       reject(new Error(`Event was not emitted in time: ${debugLabel || events}`))
          |              ^
      169 |     );
      170 |   });
      171 | };

      at src/modules/preview-web/PreviewWeb.mockdata.ts:168:14

  ● PreviewWeb › initial render › sends docs rendering exceptions to showException

    error: Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot

      38 |
      39 | const throwMessage = (type: any, message: any) => {
    > 40 |   const error = new Error(`${type}${message}`);
         |                 ^
      41 |   if (!ignoreList.reduce((acc, item) => acc || item(error), false)) {
      42 |     throw error;
      43 |   }

      at throwMessage (../../jest.init.base.ts:40:17)
      at console.throwMessage [as error] (../../jest.init.base.ts:46:38)
      at printWarning (../../node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (../../node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at Object.render (../../node_modules/react-dom/cjs/react-dom.development.js:29670:5)
      at render (../react-dom-shim/dist/react-16.js:40:30)
      at renderElement (../react-dom-shim/dist/react-16.js:39:10)
      at ../../addons/docs/dist/index.js:76:51
      at renderDocs (src/modules/preview-web/render/CsfDocsRender.ts:131:9)

  ● PreviewWeb › initial render › sends docs rendering exceptions to showException

    Event was not emitted in time: storyRendered,docsRendered,storyThrewException,storyErrored,storyMissing

      166 |     // Don't wait too long
      167 |     waitForQuiescence().then(() =>
    > 168 |       reject(new Error(`Event was not emitted in time: ${debugLabel || events}`))
          |              ^
      169 |     );
      170 |   });
      171 | };

      at src/modules/preview-web/PreviewWeb.mockdata.ts:168:14

FAIL addons/storyshots-core addons/storyshots-core/stories/storyshot.metadata.test.js
  ● Storyshots › Another Button › with text

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Another Button › with some emoji

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Text › Simple

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

FAIL addons/storyshots-core addons/storyshots-core/stories/storyshot.configFunc.test.js
  ● Storyshots › Another Button › with text

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at options (src/test-bodies.ts:58:32)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Another Button › with some emoji

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at options (src/test-bodies.ts:58:32)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

FAIL addons/storyshots-core addons/storyshots-core/stories/storyshot.snapshotWithOptionsFunction.test.js
  ● Storyshots › Another Button › with text

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Another Button › with some emoji

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Text › Simple

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

FAIL addons/storyshots-core addons/storyshots-core/stories/storyshot.defaultExport.test.js
  ● Storyshots › Another Button › with text

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Another Button › with some emoji

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Text › Simple

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

FAIL addons/storyshots-core addons/storyshots-core/stories/storyshot.renderWithOptions.test.js
  ● Storyshots › Another Button › with text

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:74:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Another Button › with some emoji

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:74:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Text › Simple

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:74:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

FAIL addons/storyshots-core addons/storyshots-core/stories/storyshot.test.js
  ● Storyshots › Another Button › with text

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at options (src/test-bodies.ts:58:32)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Another Button › with some emoji

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at options (src/test-bodies.ts:58:32)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Text › Simple

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at options (src/test-bodies.ts:58:32)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

FAIL addons/storyshots-core addons/storyshots-core/stories/storyshot.renderOnly.test.js
  ● Storyshots › Another Button › with text

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:74:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Another Button › with some emoji

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:74:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Text › Simple

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:74:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

PASS lib/codemod lib/codemod/src/transforms/__tests__/csf-2-to-3.test.ts
  ● Console

    console.log
      Error NoMetaError: CSF: missing default export (line 1, col 0)
      
      More info: https://storybook.js.org/docs/react/writing-stories/introduction#default-export, skipping

      at log (src/transforms/csf-2-to-3.ts:106:12)

PASS lib/core-server lib/core-server/src/utils/StoryIndexGenerator.test.ts (5.611 s)
PASS lib/codemod lib/codemod/src/transforms/__tests__/mdx-to-csf.test.ts
PASS lib/cli lib/cli/src/upgrade.test.ts
PASS lib/codemod lib/codemod/src/transforms/__tests__/transforms.tests.js
PASS lib/preview-api lib/preview-api/src/modules/preview-web/PreviewWeb.test.ts
PASS lib/docs-tools lib/docs-tools/src/argTypes/convert/convert.test.ts
PASS lib/cli lib/cli/test/default/cli.test.js
PASS lib/source-loader lib/source-loader/src/abstract-syntax-tree/inject-decorator.csf.test.js
PASS lib/cli lib/cli/src/automigrate/fixes/missing-babelrc.test.ts
PASS lib/core-server lib/core-server/src/utils/stories-json.test.ts (5.218 s)
PASS lib/cli lib/cli/src/automigrate/fixes/sb-binary.test.ts
PASS renderers/react renderers/react/src/docs/extractArgTypes.test.ts (5.14 s)
PASS lib/source-loader lib/source-loader/src/abstract-syntax-tree/inject-decorator.test.js
PASS addons/a11y addons/a11y/src/components/VisionSimulator.test.tsx
PASS lib/cli lib/cli/src/automigrate/fixes/new-frameworks.test.ts
PASS lib/codemod lib/codemod/src/transforms/__tests__/upgrade-deprecated-types.test.ts
PASS lib/core-server lib/core-server/src/utils/summarizeIndex.test.ts
PASS addons/a11y addons/a11y/src/components/A11YPanel.test.tsx
PASS addons/storyshots-core addons/storyshots-core/stories/storyshot.async.test.js
PASS lib/cli lib/cli/src/automigrate/fixes/angular-builders.test.ts
PASS lib/csf-tools lib/csf-tools/src/ConfigFile.test.ts
PASS lib/core-server lib/core-server/src/presets/favicon.test.ts
PASS lib/cli lib/cli/src/automigrate/fixes/nodejs-requirement.test.ts
PASS ui/components ui/components/src/typography/link/link.test.tsx
PASS addons/storyshots-core addons/storyshots-core/stories/storyshot.shallow.test.js
PASS lib/builder-vite lib/builder-vite/src/vite-config.test.ts
PASS addons/storyshots-core addons/storyshots-core/stories/storyshot.shallowWithOptions.test.js
PASS lib/telemetry lib/telemetry/src/telemetry.test.ts
PASS lib/cli lib/cli/src/automigrate/fixes/angular-builders-multiproject.test.ts
PASS lib/cli lib/cli/src/automigrate/fixes/angular12.test.ts
PASS lib/csf-tools lib/csf-tools/src/CsfFile.test.ts
PASS ui/blocks ui/blocks/src/blocks/DocsPage.test.ts
PASS lib/postinstall lib/postinstall/src/codemods.test.ts
PASS addons/storyshots-core addons/storyshots-core/src/frameworks/configure.test.ts
PASS lib/cli lib/cli/src/automigrate/fixes/mdx-gfm.test.ts
PASS renderers/react renderers/react/src/__test__/composeStories.test.tsx
PASS addons/storyshots-puppeteer addons/storyshots-puppeteer/src/__tests__/url.test.ts
PASS lib/telemetry lib/telemetry/src/event-cache.test.ts
PASS lib/core-common lib/core-common/src/presets.test.ts
PASS renderers/react renderers/react/src/__test__/internals.test.tsx
PASS frameworks/nextjs frameworks/nextjs/src/font/babel/index.test.ts
PASS lib/cli lib/cli/src/generators/configure.test.ts
PASS lib/core-server lib/core-server/src/utils/watch-story-specifiers.test.ts
PASS renderers/web-components renderers/web-components/src/docs/web-components-properties.test.ts (11.96 s)
PASS lib/cli lib/cli/src/js-package-manager/Yarn2Proxy.test.ts
  ● Console

    console.log
      undefined

      at Yarn2Proxy.log [as installDependencies] (src/js-package-manager/JsPackageManager.ts:72:12)

    console.log
      undefined

      at Yarn2Proxy.log [as installDependencies] (src/js-package-manager/JsPackageManager.ts:74:12)

PASS addons/a11y addons/a11y/src/manager.test.tsx
 • Preparing to install dependencies. ✓
 • Installing dependencies. ✓
PASS lib/core-webpack lib/core-webpack/src/to-require-context.test.ts
PASS ui/manager ui/manager/src/components/sidebar/utils.test.js
PASS lib/cli lib/cli/src/automigrate/fixes/bare-mdx-stories-glob.test.ts
PASS lib/cli lib/cli/src/automigrate/fixes/eslint-plugin.test.ts
PASS lib/cli lib/cli/src/automigrate/fixes/autodocs-true.test.ts
PASS renderers/react renderers/react/src/docs/propTypes/handleProp.test.tsx
PASS lib/cli lib/cli/src/automigrate/fixes/webpack5.test.ts
PASS lib/instrumenter lib/instrumenter/src/instrumenter.test.ts
PASS lib/manager-api lib/manager-api/src/tests/stories.test.ts
PASS lib/cli lib/cli/src/automigrate/fixes/builder-vite.test.ts
PASS lib/telemetry lib/telemetry/src/storybook-metadata.test.ts
PASS addons/interactions addons/interactions/src/Panel.test.ts
PASS lib/cli lib/cli/src/automigrate/fixes/sb-scripts.test.ts
PASS lib/builder-vite lib/builder-vite/src/utils/process-preview-annotation.test.ts
PASS lib/csf-tools lib/csf-tools/src/enrichCsf.test.ts
PASS lib/cli lib/cli/src/automigrate/fixes/cra5.test.ts
PASS lib/cli lib/cli/src/automigrate/fixes/vue3.test.ts
PASS lib/preview-api lib/preview-api/src/modules/store/csf/prepareStory.test.ts
PASS renderers/web-components renderers/web-components/src/docs/sourceDecorator.test.ts
PASS lib/preview-api lib/preview-api/src/modules/core-client/start.test.ts
PASS lib/cli lib/cli/src/automigrate/fixes/remove-global-client-apis.test.ts
PASS addons/a11y addons/a11y/src/components/Report/HighlightToggle.test.tsx
PASS ui/manager ui/manager/src/__tests__/index.test.ts
PASS lib/core-webpack lib/core-webpack/src/to-importFn.test.ts
PASS lib/builder-vite lib/builder-vite/src/plugins/external-globals-plugin.test.ts
PASS renderers/vue renderers/vue/src/docs/sourceDecorator.test.ts
PASS addons/a11y addons/a11y/src/components/A11yContext.test.tsx
PASS lib/csf-tools lib/csf-tools/src/getStorySortParameter.test.ts
PASS renderers/svelte renderers/svelte/src/docs/extractArgTypes.test.ts
PASS lib/preview-api lib/preview-api/src/modules/store/autoTitle.test.ts
PASS lib/cli lib/cli/src/automigrate/helpers/new-frameworks-utils.test.ts
PASS lib/core-server lib/core-server/src/withTelemetry.test.ts
PASS ui/blocks ui/blocks/src/controls/Date.test.ts
PASS lib/manager-api lib/manager-api/src/lib/stories.test.ts
ERR! Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR!  Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR! Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR!  Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR! Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR!  Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR! Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR!  Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR! Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR!  Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR! Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR!  Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR! Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR!  Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR! Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR!  Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR! Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR!  Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR! Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR!  Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR! Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR!  Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR! Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR!  Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR! Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
ERR!  Error: An Error!
ERR!     at /home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:33:17
ERR!     at _dispatchDescribe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:91:26)
ERR!     at describe (/home/aron/src/storybook/code/node_modules/jest-circus/build/index.js:55:5)
ERR!     at Object.describe (/home/aron/src/storybook/code/lib/core-server/src/withTelemetry.test.ts:32:1)
ERR!     at Runtime._execModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1429:24)
ERR!     at Runtime._loadModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:1013:12)
ERR!     at Runtime.requireModule (/home/aron/src/storybook/code/node_modules/jest-runtime/build/index.js:873:12)
ERR!     at jestAdapter (/home/aron/src/storybook/code/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
ERR!     at processTicksAndRejections (node:internal/process/task_queues:96:5)
ERR!     at runTestInternal (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:367:16)
ERR!     at runTest (/home/aron/src/storybook/code/node_modules/jest-runner/build/runTest.js:444:34)
ERR!     at Object.worker (/home/aron/src/storybook/code/node_modules/jest-runner/build/testWorker.js:106:12)
PASS renderers/react renderers/react/src/public-api.test.ts
PASS lib/manager-api lib/manager-api/src/tests/refs.test.js
PASS renderers/html renderers/html/src/docs/sourceDecorator.test.ts
PASS lib/cli lib/cli/src/js-package-manager/PNPMProxy.test.ts
  ● Console

    console.log
      undefined

      at PNPMProxy.log [as installDependencies] (src/js-package-manager/JsPackageManager.ts:72:12)

    console.log
      undefined

      at PNPMProxy.log [as installDependencies] (src/js-package-manager/JsPackageManager.ts:74:12)

 • Preparing to install dependencies. ✓
 • Installing dependencies. ✓
PASS lib/telemetry lib/telemetry/src/get-monorepo-type.test.ts
PASS renderers/react renderers/react/src/docs/jsxDecorator.test.tsx
PASS lib/cli lib/cli/src/js-package-manager/JsPackageManagerFactory.test.ts
PASS lib/core-server lib/core-server/src/utils/__tests__/server-statics.test.ts
PASS renderers/react renderers/react/src/public-types.test.tsx
PASS addons/actions addons/actions/src/runtime/__tests__/actions.test.js
PASS renderers/react renderers/react/src/docs/typeScript/handleProp.test.tsx
PASS renderers/vue3 renderers/vue3/src/docs/sourceDecorator.test.ts
PASS addons/links addons/links/src/utils.test.ts
PASS lib/telemetry lib/telemetry/src/anonymous-id.test.ts
PASS addons/actions addons/actions/src/addArgsHelpers.test.ts
PASS lib/docs-tools lib/docs-tools/src/argTypes/docgen/flow/createPropDef.test.ts
PASS lib/cli lib/cli/src/js-package-manager/Yarn1Proxy.test.ts
  ● Console

    console.log
      undefined

      at Yarn1Proxy.log [as installDependencies] (src/js-package-manager/JsPackageManager.ts:72:12)

    console.log
      undefined

      at Yarn1Proxy.log [as installDependencies] (src/js-package-manager/JsPackageManager.ts:74:12)

 • Preparing to install dependencies. ✓
 • Installing dependencies. ✓
PASS lib/docs-tools lib/docs-tools/src/argTypes/docgen/typeScript/createPropDef.test.ts
PASS ui/components ui/components/src/syntaxhighlighter/formatter.test.ts
PASS lib/preview-api lib/preview-api/src/modules/store/StoryStore.test.ts
PASS lib/docs-tools lib/docs-tools/src/argTypes/enhanceArgTypes.test.ts
PASS renderers/svelte renderers/svelte/src/docs/sourceDecorator.test.ts
PASS renderers/web-components renderers/web-components/src/docs/custom-elements.test.ts
PASS addons/storyshots-core addons/storyshots-core/src/Stories2SnapsConverter.test.ts
PASS lib/manager-api lib/manager-api/src/tests/globals.test.ts
PASS lib/cli lib/cli/src/js-package-manager/NPMProxy.test.ts
  ● Console

    console.log
      undefined

      at NPMProxy.log [as installDependencies] (src/js-package-manager/JsPackageManager.ts:72:12)

    console.log
      undefined

      at NPMProxy.log [as installDependencies] (src/js-package-manager/JsPackageManager.ts:74:12)

    console.log
      undefined

      at NPMProxy.log [as installDependencies] (src/js-package-manager/JsPackageManager.ts:72:12)

    console.log
      undefined

      at NPMProxy.log [as installDependencies] (src/js-package-manager/JsPackageManager.ts:74:12)

PASS addons/a11y addons/a11y/src/a11yRunner.test.ts
 • Preparing to install dependencies. ✓
 • Installing dependencies. ✓
 • Preparing to install dependencies. ✓
 • Installing dependencies. ✓
PASS lib/theming lib/theming/src/tests/convert.test.js
PASS lib/cli lib/cli/src/detect.test.ts
PASS lib/manager-api lib/manager-api/src/tests/events.test.ts
PASS lib/preview-api lib/preview-api/src/modules/store/hooks.test.ts
PASS addons/actions addons/actions/src/runtime/__tests__/configureActions.test.js
PASS lib/core-events lib/core-events/src/index.test.ts
PASS lib/preview-api lib/preview-api/src/modules/preview-web/docs-context/DocsContext.test.ts
PASS lib/manager-api lib/manager-api/src/tests/shortcut.test.js
PASS renderers/react renderers/react/src/docs/propTypes/generateFuncSignature.test.ts
PASS lib/node-logger lib/node-logger/src/index.test.ts
PASS lib/manager-api lib/manager-api/src/tests/layout.test.js
PASS lib/router lib/router/src/utils.test.ts
PASS lib/preview-api lib/preview-api/src/modules/client-api/ClientApi.test.ts
PASS lib/core-common lib/core-common/src/utils/__tests__/check-addon-order.test.ts
PASS lib/preview-api lib/preview-api/src/modules/store/csf/composeConfigs.test.ts
PASS lib/core-server lib/core-server/src/utils/__tests__/release-notes.test.ts
WARN Expected '@storybook/addon-docs' (or '@storybook/addon-essentials') to be listed before '@storybook/addon-controls' (or '@storybook/addon-essentials') in main Storybook config.
WARN Expected '@storybook/addon-docs' (or '@storybook/addon-essentials') to be listed before '@storybook/addon-controls' (or '@storybook/addon-essentials') in main Storybook config.
WARN Expected '@storybook/addon-docs' (or '@storybook/addon-essentials') to be listed before '@storybook/addon-controls' (or '@storybook/addon-essentials') in main Storybook config.
WARN Expected '@storybook/addon-docs' (or '@storybook/addon-essentials') to be listed before '@storybook/addon-controls' (or '@storybook/addon-essentials') in main Storybook config.
WARN Expected '@storybook/addon-docs' (or '@storybook/addon-essentials') to be listed before '@storybook/addon-controls' (or '@storybook/addon-essentials') in main Storybook config.
WARN Expected '@storybook/addon-docs' (or '@storybook/addon-essentials') to be listed before '@storybook/addon-controls' (or '@storybook/addon-essentials') in main Storybook config.
WARN Expected '@storybook/addon-docs' (or '@storybook/addon-essentials') to be listed before '@storybook/addon-controls' (or '@storybook/addon-essentials') in main Storybook config.
PASS lib/theming lib/theming/src/tests/create.test.js
PASS renderers/svelte renderers/svelte/src/docs/extractComponentDescription.test.ts
PASS lib/core-common lib/core-common/src/utils/__tests__/normalize-stories.test.ts
PASS lib/docs-tools lib/docs-tools/src/argTypes/jsdocParser.test.ts
PASS addons/actions addons/actions/src/runtime/__tests__/action.test.js
PASS lib/theming lib/theming/src/tests/util.test.js
PASS lib/preview-api lib/preview-api/src/modules/store/storySort.test.ts
PASS lib/cli lib/cli/src/warn.test.ts
PASS lib/client-logger lib/client-logger/src/index.test.ts
PASS lib/builder-manager lib/builder-manager/src/utils/files.test.ts
PASS lib/preview-api lib/preview-api/src/modules/store/StoryIndexStore.test.ts
PASS addons/jest addons/jest/src/shared.test.ts
PASS lib/codemod lib/codemod/src/lib/utils.test.js
PASS lib/core-webpack lib/core-webpack/src/merge-webpack-config.test.ts
PASS lib/core-common lib/core-common/src/utils/__tests__/template.test.ts
PASS lib/preview-api lib/preview-api/src/modules/preview-web/render/MdxDocsRender.test.ts
PASS lib/telemetry lib/telemetry/src/sanitize.test.ts
PASS lib/cli lib/cli/src/project_types.test.ts
PASS lib/channels lib/channels/src/index.test.ts
PASS lib/preview-api lib/preview-api/src/modules/store/csf/processCSFFile.test.ts
PASS lib/preview-api lib/preview-api/src/modules/store/csf/testing-utils/index.test.ts
PASS ui/blocks ui/blocks/src/controls/helpers.test.ts
PASS lib/core-server lib/core-server/src/utils/__tests__/IndexingError.test.ts
PASS lib/manager-api lib/manager-api/src/tests/store.test.js
PASS lib/core-common lib/core-common/src/utils/__tests__/interpret-files.test.ts
PASS lib/preview-api lib/preview-api/src/modules/preview-web/parseArgsParam.test.ts
PASS lib/core-server lib/core-server/src/utils/__tests__/server-address.test.ts
PASS renderers/react renderers/react/src/docs/lib/inspection/acornParser.test.ts
PASS lib/docs-tools lib/docs-tools/src/argTypes/utils.test.ts
PASS lib/manager-api lib/manager-api/src/tests/shortcuts.test.js
PASS lib/preview-api lib/preview-api/src/modules/store/GlobalsStore.test.ts
PASS lib/preview-api lib/preview-api/src/modules/store/ArgsStore.test.ts
PASS lib/core-common lib/core-common/src/utils/get-storybook-configuration.test.ts
PASS lib/docs-tools lib/docs-tools/src/argTypes/docgen/extractDocgenProps.test.ts
PASS lib/preview-api lib/preview-api/src/modules/preview-web/UrlStore.test.ts
PASS lib/core-common lib/core-common/src/config.test.ts
PASS lib/cli lib/cli/src/helpers.test.ts
PASS lib/preview-api lib/preview-api/src/modules/preview-web/render/CsfDocsRender.test.ts
PASS lib/cli lib/cli/src/automigrate/fixes/mdx-1-to-2.test.ts
PASS lib/preview-api lib/preview-api/src/modules/store/csf/normalizeStory.test.ts
PASS lib/preview-api lib/preview-api/src/modules/store/args.test.ts
PASS lib/core-common lib/core-common/src/utils/__tests__/paths.test.ts
PASS lib/preview-api lib/preview-api/src/modules/preview-web/render/StoryRender.test.ts
PASS lib/builder-vite lib/builder-vite/src/utils/has-vite-plugins.test.ts
PASS lib/core-webpack lib/core-webpack/src/importPipeline.test.ts
PASS lib/preview-api lib/preview-api/src/modules/addons/make-decorator.test.ts
PASS lib/core-common lib/core-common/src/utils/validate-config.test.ts
PASS lib/preview-api lib/preview-api/src/modules/addons/hooks.test.js
PASS lib/manager-api lib/manager-api/src/tests/versions.test.js
PASS lib/preview-api lib/preview-api/src/modules/store/inferControls.test.ts
PASS lib/manager-api lib/manager-api/src/tests/url.test.js
PASS lib/preview-api lib/preview-api/src/modules/preview-web/simulate-pageload.test.ts
PASS lib/preview-api lib/preview-api/src/modules/store/csf/stepRunners.test.ts
PASS lib/preview-api lib/preview-api/src/modules/store/parameters.test.ts
PASS lib/cli lib/cli/src/automigrate/fixes/add-react.test.ts
PASS lib/preview-api lib/preview-api/src/modules/store/inferArgTypes.test.ts
PASS lib/builder-vite lib/builder-vite/src/utils/without-vite-plugins.test.ts
PASS lib/manager-api lib/manager-api/src/tests/addons.test.js
PASS lib/telemetry lib/telemetry/src/get-chromatic-version.test.ts
PASS lib/preview-api lib/preview-api/src/modules/store/csf/normalizeInputTypes.test.ts
PASS lib/postinstall lib/postinstall/src/frameworks.test.ts
PASS lib/preview-api lib/preview-api/src/modules/store/decorators.test.ts
PASS lib/manager-api lib/manager-api/src/tests/notifications.test.js
PASS lib/core-server lib/core-server/src/utils/__tests__/autoName.test.ts
FAIL addons/storyshots-core addons/storyshots-core/stories/storyshot.enzyme.test.js
  ● Test suite failed to run

    ReferenceError: TextEncoder is not defined

       5 | import initStoryshots from '../src';
       6 |
    >  7 | configure({ adapter: new Adapter() });
         |                                       ^
       8 |
       9 | initStoryshots({
      10 |   framework: 'react',

      at ../../node_modules/react-dom/cjs/react-dom-server.browser.development.js:145:19
      at Object.<anonymous> (../../node_modules/react-dom/cjs/react-dom-server.browser.development.js:7002:5)
      at Object.<anonymous> (../../node_modules/react-dom/server.browser.js:9:7)
      at Object.<anonymous> (../../node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:5:1)
      at Object.require (../../node_modules/enzyme-adapter-react-16/src/index.js:2:18)
      at Object.<anonymous> (stories/storyshot.enzyme.test.js:7:68)

/home/aron/src/storybook/code/jest.init.base.ts:39
    const error = new Error(`${type}${message}`);
                  ^

Error: error: Warning: An update to %s inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s
    at throwMessage (/home/aron/src/storybook/code/jest.init.base.ts:39:19)
    at console.throwError [as error] (/home/aron/src/storybook/code/jest.init.base.ts:45:31)
    at printWarning (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:86:30)
    at error (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:60:7)
    at warnIfUpdatesNotWrappedWithActDEV (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:27589:9)
    at scheduleUpdateOnFiber (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:25508:5)
    at Object.enqueueSetState (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:14067:7)
    at LinkTo.Object.<anonymous>.Component.setState (/home/aron/src/storybook/code/node_modules/react/cjs/react.development.js:354:16)
    at LinkTo.updateHref (/home/aron/src/storybook/code/addons/links/src/react/components/link.tsx:115:22)
/home/aron/src/storybook/code/jest.init.base.ts:39
    const error = new Error(`${type}${message}`);
                  ^

Error: error: Warning: An update to %s inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s
    at throwMessage (/home/aron/src/storybook/code/jest.init.base.ts:39:19)
    at console.throwError [as error] (/home/aron/src/storybook/code/jest.init.base.ts:45:31)
    at printWarning (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:86:30)
    at error (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:60:7)
    at warnIfUpdatesNotWrappedWithActDEV (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:27589:9)
    at scheduleUpdateOnFiber (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:25508:5)
    at Object.enqueueSetState (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:14067:7)
    at LinkTo.Object.<anonymous>.Component.setState (/home/aron/src/storybook/code/node_modules/react/cjs/react.development.js:354:16)
    at LinkTo.updateHref (/home/aron/src/storybook/code/addons/links/src/react/components/link.tsx:115:22)
/home/aron/src/storybook/code/jest.init.base.ts:39
    const error = new Error(`${type}${message}`);
                  ^

Error: error: Warning: An update to %s inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s
    at throwMessage (/home/aron/src/storybook/code/jest.init.base.ts:39:19)
    at console.throwError [as error] (/home/aron/src/storybook/code/jest.init.base.ts:45:31)
    at printWarning (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:86:30)
    at error (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:60:7)
    at warnIfUpdatesNotWrappedWithActDEV (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:27589:9)
    at scheduleUpdateOnFiber (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:25508:5)
    at Object.enqueueSetState (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:14067:7)
    at LinkTo.Object.<anonymous>.Component.setState (/home/aron/src/storybook/code/node_modules/react/cjs/react.development.js:354:16)
    at LinkTo.updateHref (/home/aron/src/storybook/code/addons/links/src/react/components/link.tsx:115:22)
/home/aron/src/storybook/code/jest.init.base.ts:39
    const error = new Error(`${type}${message}`);
                  ^

Error: error: Warning: An update to %s inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s
    at throwMessage (/home/aron/src/storybook/code/jest.init.base.ts:39:19)
    at console.throwError [as error] (/home/aron/src/storybook/code/jest.init.base.ts:45:31)
    at printWarning (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:86:30)
    at error (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:60:7)
    at warnIfUpdatesNotWrappedWithActDEV (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:27589:9)
    at scheduleUpdateOnFiber (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:25508:5)
    at Object.enqueueSetState (/home/aron/src/storybook/code/node_modules/react-dom/cjs/react-dom.development.js:14067:7)
    at LinkTo.Object.<anonymous>.Component.setState (/home/aron/src/storybook/code/node_modules/react/cjs/react.development.js:354:16)
    at LinkTo.updateHref (/home/aron/src/storybook/code/addons/links/src/react/components/link.tsx:115:22)
FAIL addons/links addons/links/src/react/components/link.test.tsx
  ● Test suite failed to run

    Jest worker encountered 4 child process exceptions, exceeding retry limit

      at ChildProcessWorker.initialize (../../node_modules/jest-worker/build/workers/ChildProcessWorker.js:181:21)

Summary of all failing tests
FAIL lib/preview-api/src/modules/preview-web/PreviewWeb.integration.test.ts
  ● PreviewWeb › initial render › renders docs mode through docs page

    error: Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot

      38 |
      39 | const throwMessage = (type: any, message: any) => {
    > 40 |   const error = new Error(`${type}${message}`);
         |                 ^
      41 |   if (!ignoreList.reduce((acc, item) => acc || item(error), false)) {
      42 |     throw error;
      43 |   }

      at throwMessage (../../jest.init.base.ts:40:17)
      at console.throwMessage [as error] (../../jest.init.base.ts:46:38)
      at printWarning (../../node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (../../node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at Object.render (../../node_modules/react-dom/cjs/react-dom.development.js:29670:5)
      at render (../react-dom-shim/dist/react-16.js:40:30)
      at renderElement (../react-dom-shim/dist/react-16.js:39:10)
      at ../../addons/docs/dist/index.js:76:51
      at renderDocs (src/modules/preview-web/render/CsfDocsRender.ts:131:9)

  ● PreviewWeb › initial render › renders docs mode through docs page

    Event was not emitted in time: storyRendered,docsRendered,storyThrewException,storyErrored,storyMissing

      166 |     // Don't wait too long
      167 |     waitForQuiescence().then(() =>
    > 168 |       reject(new Error(`Event was not emitted in time: ${debugLabel || events}`))
          |              ^
      169 |     );
      170 |   });
      171 | };

      at src/modules/preview-web/PreviewWeb.mockdata.ts:168:14

  ● PreviewWeb › initial render › sends docs rendering exceptions to showException

    error: Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot

      38 |
      39 | const throwMessage = (type: any, message: any) => {
    > 40 |   const error = new Error(`${type}${message}`);
         |                 ^
      41 |   if (!ignoreList.reduce((acc, item) => acc || item(error), false)) {
      42 |     throw error;
      43 |   }

      at throwMessage (../../jest.init.base.ts:40:17)
      at console.throwMessage [as error] (../../jest.init.base.ts:46:38)
      at printWarning (../../node_modules/react-dom/cjs/react-dom.development.js:86:30)
      at error (../../node_modules/react-dom/cjs/react-dom.development.js:60:7)
      at Object.render (../../node_modules/react-dom/cjs/react-dom.development.js:29670:5)
      at render (../react-dom-shim/dist/react-16.js:40:30)
      at renderElement (../react-dom-shim/dist/react-16.js:39:10)
      at ../../addons/docs/dist/index.js:76:51
      at renderDocs (src/modules/preview-web/render/CsfDocsRender.ts:131:9)

  ● PreviewWeb › initial render › sends docs rendering exceptions to showException

    Event was not emitted in time: storyRendered,docsRendered,storyThrewException,storyErrored,storyMissing

      166 |     // Don't wait too long
      167 |     waitForQuiescence().then(() =>
    > 168 |       reject(new Error(`Event was not emitted in time: ${debugLabel || events}`))
          |              ^
      169 |     );
      170 |   });
      171 | };

      at src/modules/preview-web/PreviewWeb.mockdata.ts:168:14

FAIL addons/storyshots-core/stories/storyshot.metadata.test.js
  ● Storyshots › Another Button › with text

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Another Button › with some emoji

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Text › Simple

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

FAIL addons/storyshots-core/stories/storyshot.configFunc.test.js
  ● Storyshots › Another Button › with text

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at options (src/test-bodies.ts:58:32)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Another Button › with some emoji

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at options (src/test-bodies.ts:58:32)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

FAIL addons/storyshots-core/stories/storyshot.snapshotWithOptionsFunction.test.js
  ● Storyshots › Another Button › with text

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Another Button › with some emoji

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Text › Simple

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

FAIL addons/storyshots-core/stories/storyshot.defaultExport.test.js
  ● Storyshots › Another Button › with text

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Another Button › with some emoji

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Text › Simple

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

FAIL addons/storyshots-core/stories/storyshot.renderWithOptions.test.js
  ● Storyshots › Another Button › with text

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:74:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Another Button › with some emoji

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:74:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Text › Simple

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:74:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

FAIL addons/storyshots-core/stories/storyshot.test.js
  ● Storyshots › Another Button › with text

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at options (src/test-bodies.ts:58:32)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Another Button › with some emoji

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at options (src/test-bodies.ts:58:32)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Text › Simple

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:21:20)
      at options (src/test-bodies.ts:58:32)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

FAIL addons/storyshots-core/stories/storyshot.renderOnly.test.js
  ● Storyshots › Another Button › with text

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:74:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Another Button › with some emoji

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:74:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

  ● Storyshots › Text › Simple

    TypeError: Cannot read properties of undefined (reading 'current')

       6 |   const storyElement = React.createElement(StoryFn);
       7 |   const currentRenderer = renderer || reactTestRenderer.create;
    >  8 |   const tree = currentRenderer(storyElement, rendererOptions);
         |                ^
       9 |
      10 |   return tree;
      11 | }

      at warnIfNotScopedWithMatchingAct (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13713:31)
      at updateContainer (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14706:7)
      at create (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15455:5)
      at currentRenderer (src/frameworks/react/renderTree.ts:8:16)
      at renderTree (src/test-bodies.ts:74:20)
      at Object.testMethod (src/api/snapshotsTestsTemplate.ts:30:9)

FAIL addons/storyshots-core/stories/storyshot.enzyme.test.js
  ● Test suite failed to run

    ReferenceError: TextEncoder is not defined

       5 | import initStoryshots from '../src';
       6 |
    >  7 | configure({ adapter: new Adapter() });
         |                                       ^
       8 |
       9 | initStoryshots({
      10 |   framework: 'react',

      at ../../node_modules/react-dom/cjs/react-dom-server.browser.development.js:145:19
      at Object.<anonymous> (../../node_modules/react-dom/cjs/react-dom-server.browser.development.js:7002:5)
      at Object.<anonymous> (../../node_modules/react-dom/server.browser.js:9:7)
      at Object.<anonymous> (../../node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:5:1)
      at Object.require (../../node_modules/enzyme-adapter-react-16/src/index.js:2:18)
      at Object.<anonymous> (stories/storyshot.enzyme.test.js:7:68)

FAIL addons/links/src/react/components/link.test.tsx
  ● Test suite failed to run

    Jest worker encountered 4 child process exceptions, exceeding retry limit

      at ChildProcessWorker.initialize (../../node_modules/jest-worker/build/workers/ChildProcessWorker.js:181:21)

Test Suites: 10 failed, 1 skipped, 188 passed, 198 of 199 total
Tests:       22 failed, 18 skipped, 2376 passed, 2416 total
Snapshots:   550 passed, 550 total
Time:        29.509 s
Ran all test suites in 38 projects.

@socket-security
Copy link

socket-security bot commented Mar 18, 2023

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

@agriffis
Copy link
Contributor Author

getting there

Test Suites: 3 failed, 1 skipped, 195 passed, 198 of 199 total
Tests:       2 failed, 18 skipped, 2396 passed, 2416 total
Snapshots:   564 passed, 564 total
Time:        30.475 s
Ran all test suites in 38 projects.

@agriffis
Copy link
Contributor Author

not sure what to do about enzyme yet. It's dead upstream, last adapter was for react-16, and it doesn't really work for react-18

https://darekkay.com/blog/react-18-enzyme/

might just whack that stuff since everybody should switch to RTL anyway?

@agriffis
Copy link
Contributor Author

technically just one test failing now

  • addons/links/src/react/components/link.test.tsx

also these two report problems that don't result in failure but maybe should

  • withTelemetry.test.ts
  • lib/codemod/src/lib/utils.test.js

haven't investigated further yet

@agriffis
Copy link
Contributor Author

@shilman Tests are all passing. In the meantime, I've lost motivation personally because I'm going to migrate my addons to stuff that runs in preview (see #21669)

If you're interested in this, then by all means take it for a test run. Might even be ready to merge.

@agriffis agriffis marked this pull request as ready for review March 19, 2023 14:07
@agriffis agriffis changed the title chore: upgrade to react 18 chore: upgrade ui to react 18 Mar 20, 2023
@agriffis
Copy link
Contributor Author

rebased to next

@agriffis
Copy link
Contributor Author

I'm not going to keep rebasing this (because it's annoying, as rebasing dependency updates always is)

but this PR could probably be recreated by a willing individual as a couple of separate PRs to make things easier:

  1. Update testing deps first, to pave the way. These require some updates to tests that aren't related to the react upgrade, see 97939d4. Since this PR would only change internal testing deps, it should be a pretty easy merge.

  2. Update react. This would need to include the other small commits from this PR to fix typing, kill the enzyme test, etc. But it would be a smaller PR since the testing deps were updated earlier.

@JReinhold
Copy link
Contributor

Either way, thanks for your persistence in this @agriffis, and for thinking about next steps. Great work here. ❤️

@IanVS
Copy link
Member

IanVS commented Apr 3, 2023

might just whack that stuff since everybody should switch to RTL anyway?

Yes, there's a desire among Storybook maintainers to remove the use of Enzyme from our codebase.

@ndelangen ndelangen changed the base branch from release-8-0 to norbert/remove-storyshots October 11, 2023 21:21
@ndelangen
Copy link
Member

I telescoped this PR to norbert/remove-storyshots and targetted that branch, which itself targets the 8.0 release branch

@socket-security
Copy link

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: @types/react@16.14.49, @types/react-dom@16.9.20

@ndelangen ndelangen marked this pull request as draft October 12, 2023 10:26
@ndelangen ndelangen deleted the branch storybookjs:norbert/remove-storyshots October 18, 2023 16:23
@ndelangen ndelangen closed this Oct 18, 2023
@ndelangen
Copy link
Member

uhmm.. github? I would like to target the new branch of course.. not close this PR?!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade Storybook manager to React 18