You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though we have a few tests for the src/lib/ folder - which contains essential internals - we also need to test the rendering of the components when added to the map.
I tried to setup visual regression testing with Vitest and JSDom (see #130 (comment)) but it seems to be a dead end as Google Maps won't render in JSDom.
One question stands, how can we test animated components? Visual regression in JSDom with the right thresholds seemed like a good option IMO, but it won't work. Maybe the current unit tests are enough, since animated components inherits from base components?
The text was updated successfully, but these errors were encountered:
Even though we have a few tests for the
src/lib/
folder - which contains essential internals - we also need to test the rendering of the components when added to the map.I tried to setup visual regression testing with Vitest and JSDom (see #130 (comment)) but it seems to be a dead end as Google Maps won't render in JSDom.
@MicheleBertoli is currently exploring Cypress, which seems more promising #130 (comment)
One question stands, how can we test animated components? Visual regression in JSDom with the right thresholds seemed like a good option IMO, but it won't work. Maybe the current unit tests are enough, since animated components inherits from base components?
The text was updated successfully, but these errors were encountered: