You can now use a new suite of comprehensive testing utilities built into the HubSpot UI Extensions SDK. These tools make it easier for you to write, run, and maintain automated tests for your custom UI extensions.
With these new testing utilities, you can:
With these testing tools, you can simulate HubSpot APIs and hooks, test user interactions, and verify component behavior directly within your development environment. This means you can confidently ship extensions that are stable, reliable, and easy to maintain over time.
The UI Extensions SDK now includes testing utilities that let you automate testing for your UI Extensions. All HubSpot APIs and hooks are automatically mocked, allowing you to easily query, trigger events, and verify component behavior, all with full TypeScript type safety.
These testing utilities are available to all hubs and tiers.