Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: fix failing tests

TzeYiinge7bfba85666c
diff --git a/studio/tests/pages/projects/LogsQueryPanel.test.js b/studio/tests/pages/projects/LogsQueryPanel.test.js
index 93b9a4f6c0b..a1d43765257 100644
--- a/studio/tests/pages/projects/LogsQueryPanel.test.js
+++ b/studio/tests/pages/projects/LogsQueryPanel.test.js
@@ -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 () => {