mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
* Replace all methods of MetaStore with react queries. * Remove unneeded usages of MetaStore. * Remove RootStore completely. The only thing left from these stores is uiStore. * Remove unnecessary comments. * Delete MetaStore. * Fix the usage of the wrong toaster. * Remove unused variables * Remove onSqlQuery * Convert some ui setNotification calls to direct toast calls --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
UI Testing Notes
<Popover> vs <Dropdown>
When simulating clicks on these components, do the following:
// for Popovers
import userEvent from '@testing-library/user-event'
userEvent.click('Hello world')
// for Dropdowns
import clickDropdown from 'tests/helpers'
clickDropdown('Hello world')