react-components icon indicating copy to clipboard operation
react-components copied to clipboard

test: fix deprecated act usage warning

Open petermakowski opened this issue 9 months ago • 2 comments

Done

This PR fixes deprecation warning about act usage from react-dom/test-utils

  • test: test: fix deprecated act usage warning
    • update act import from react
    • remove act in favour of async userEvent

QA

Storybook

To see rendered examples of all react-components, run:

yarn start

QA in your project

from react-components run:

yarn build
npm pack

Install the resulting tarball in your project with:

yarn add <path-to-tarball>

QA steps

  • Steps for QA.

Percy steps

  • List any expected visual change in Percy, or write something like "No visual changes expected" if none is expected.

Fixes

Fixes: # .

petermakowski avatar May 14 '24 11:05 petermakowski

:tada: This PR is included in version 1.2.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar Sep 06 '24 05:09 github-actions[bot]