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

Version Packages #2152

Merged
merged 1 commit into from
Apr 22, 2021
Merged

Version Packages #2152

merged 1 commit into from
Apr 22, 2021

Conversation

ghost
Copy link

@ghost ghost commented Apr 22, 2021

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@commercetools-frontend/application-shell@19.2.0

Minor Changes

  • #2144 7ec6626f Thanks @pa3! - Adds re-export of @testing-library/react-hooks from test-utils with renderHook functions wrapped with app-kit providers.

    The renderHook function is wrapped similarily to the existing renderAppWithRedux:

    • All options which can be passed to renderAppWithRedux can be passed to renderHooks
    • All additional poperties returned as a result of an renderAppWithRedux call (like store or history) are returend from the wrapped renderHook too

    All @testing-library/react-hooks functionality is exported under the namespace hooks from the package '@commercetools-frontend/application-shell/test-utils'.

    Usage example

    import { hooks } from '@commercetools-frontend/application-shell/test-utils';
    
    const { act, renderHook } = hooks;
    
    it('should navigate to a route', () => {
      const { result, history } = renderHook(useRoutes);
      act(() => result.current.someRoute.go());
      expect(history.location.pathname).toBe('/some-route');
    });

merchant-center-application-template-starter@18.0.3

Patch Changes

  • Updated dependencies [7ec6626f]:
    • @commercetools-frontend/application-shell@19.2.0

playground@18.0.3

Patch Changes

  • Updated dependencies [7ec6626f]:
    • @commercetools-frontend/application-shell@19.2.0

@vercel
Copy link

vercel bot commented Apr 22, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/commercetools/merchant-center-application-kit/9iezEX587s7mVSr1SWPUGmdoDBoh
✅ Preview: https://merchant-cente-git-changeset-release-main-commer-6d1033.vercel.app

@vercel vercel bot temporarily deployed to Preview April 22, 2021 07:33 Inactive
@vercel vercel bot temporarily deployed to Preview April 22, 2021 07:50 Inactive
@tdeekens tdeekens enabled auto-merge (squash) April 22, 2021 07:51
@adnasa
Copy link
Contributor

adnasa commented Apr 22, 2021

🚀

@tdeekens tdeekens merged commit 5cb4aae into main Apr 22, 2021
@tdeekens tdeekens deleted the changeset-release/main branch April 22, 2021 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants