mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
chore: fix failing tests
This commit is contained in:
1 parent
2de2a2fb41
commit
e7bfba8566
1 file changed
+2
-12
@@ -1,17 +1,7 @@
|
||||
import LogsQueryPanel from 'components/interfaces/Settings/Logs/LogsQueryPanel'
|
||||
import { render, screen } from '@testing-library/react'
|
||||
import { screen } from '@testing-library/react'
|
||||
import userEvent from '@testing-library/user-event'
|
||||
|
||||
jest.mock('components/ui/Flag/Flag')
|
||||
import Flag from 'components/ui/Flag/Flag'
|
||||
Flag.mockImplementation(({ children }) => <>{children}</>)
|
||||
jest.mock('hooks')
|
||||
import { useFlag, useStore } from 'hooks'
|
||||
useFlag.mockReturnValue(true)
|
||||
useStore.mockImplementation(() => ({
|
||||
ui: { profile: { id: 1 } },
|
||||
}))
|
||||
|
||||
import { render } from 'tests/helpers'
|
||||
test.todo('templates')
|
||||
|
||||
test('run and clear', async () => {
|
||||
|
||||
Reference in new issue
Block a user