Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

React Act warnings in tests #687

Open
Glazy opened this issue Oct 8, 2022 · 2 comments
Open

React Act warnings in tests #687

Glazy opened this issue Oct 8, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@Glazy
Copy link
Contributor

Glazy commented Oct 8, 2022

Bug description

Some of the component tests output React act warnings which make the console output messy and could potentially lead to some odd race conditions in tests if left.

To Reproduce

  1. npm run test
  2. Examine console output

Expected result

All tests passing with no console warnings.

Actual result

Tests passing with console warnings.

Additional information

act related warnings are currently present in the following components/hooks:

@Glazy Glazy added the bug Something isn't working label Oct 8, 2022
@ThisIsMissEm
Copy link
Contributor

Hi @Glazy, thanks for raising this, I've raised it internally with the developer tools team at Inrupt, as I know we've some changes under discussion about this SDK and I'd like to clarify those before replying here.

@NSeydoux
Copy link
Contributor

We are now deprecating the React SDK, so unfortunately we will not be addressing the open issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants