test: fix test case
This commit is contained in:
parent
ef4dcb7d9e
commit
b91c3c8e75
@ -12,6 +12,9 @@ global.ResizeObserver = class {
|
||||
// Mock the useStarterScreen hook
|
||||
jest.mock('@/hooks/useStarterScreen')
|
||||
|
||||
// @ts-ignore
|
||||
global.API_BASE_URL = 'http://localhost:3000'
|
||||
|
||||
describe('ThreadScreen', () => {
|
||||
it('renders OnDeviceStarterScreen when isShowStarterScreen is true', () => {
|
||||
; (useStarterScreen as jest.Mock).mockReturnValue({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user