mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 02:14:05 +00:00
style(client): prettier on the files this branch touched
This commit is contained in:
@@ -22,7 +22,9 @@ describe('usePlanMapViewport', () => {
|
||||
});
|
||||
|
||||
it('raeumt ihn auch weg, sobald die Karte nicht mehr zu sehen ist, und nimmt dann nichts an', () => {
|
||||
const { result, rerender } = renderHook(({ shown }) => usePlanMapViewport(5, shown), { initialProps: { shown: true } });
|
||||
const { result, rerender } = renderHook(({ shown }) => usePlanMapViewport(5, shown), {
|
||||
initialProps: { shown: true },
|
||||
});
|
||||
act(() => result.current(KYOTO));
|
||||
rerender({ shown: false });
|
||||
expect(useTripStore.getState().planMapViewport).toBeNull();
|
||||
|
||||
Reference in New Issue
Block a user