You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: optimize userEvent.type performance by filtering eventWrapper from instrumentation
Add getKeys filter to exclude 'eventWrapper' property from instrumenter calls to prevent performance regression in userEvent.type operations. This addresses the slowdown reported when upgrading from Storybook 8 to 9 with addon-vitest.
The instrumenter was spending significant time sorting large arrays of calls that included the eventWrapper property, which is not needed for testing interactions. By filtering it out at the instrumentation level, we avoid unnecessary processing overhead.
0 commit comments