carlsverre / react-outlet

Bottom-up Transclusion for React
MIT License
71 stars 12 forks source link

Another Outlet has already registered for outlet #5

Closed BrunoQuaresma closed 7 years ago

BrunoQuaresma commented 7 years ago

when I re-run my tests this error appears.

Another Outlet has already registered for outlet

How can i avoid?

carlsverre commented 7 years ago

Call OutletRegistry.reset() before running different tests. Also as React-Outlet is currently written you can't run multiple tests concurrently unless each test has a different OutletID.

BrunoQuaresma commented 7 years ago

It works. Thanks!