feat: pass isBeeDesktop as Bee Dashboard component property (#510)
* feat: pass isBeeDesktop as Bee Dashboard component property * chore: remove console log
This commit is contained in:
@@ -41,9 +41,7 @@ afterAll(async () => {
|
||||
|
||||
describe('useIsBeeDesktop', () => {
|
||||
it('should not have error when connected to bee-desktop', async () => {
|
||||
const { result, waitFor } = renderHook(() =>
|
||||
useIsBeeDesktop({ BEE_DESKTOP_URL: serverCorrectURL, BEE_DESKTOP_ENABLED: true }),
|
||||
)
|
||||
const { result, waitFor } = renderHook(() => useIsBeeDesktop(true, { BEE_DESKTOP_URL: serverCorrectURL }))
|
||||
|
||||
await waitFor(() => {
|
||||
expect(result.current.isLoading).toBe(false)
|
||||
|
||||
Reference in New Issue
Block a user