Open Bug 1668047 Opened 5 years ago Updated 5 years ago

evaluate solutions to using act() in all React tests

Categories

(Firefox :: Messaging System, task, P2)

task

Tracking

()

People

(Reporter: dmosedale, Unassigned)

References

(Blocks 1 open bug)

Details

According to the (React testing docs)[https://reactjs.org/docs/testing-recipes.html#act], this is the Right Thing to do these days to keep tests working correctly (and it definitely causes problems if it's missing from stuff that uses effects and hooks). Using act directly is a bit verbose, we will likely want to at least evaluate the react-testing-library suggestion in the link above.

Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.