Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ folders.test.ts
File
folders.test.ts
apps/sim/hooks/queries/folders.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ beforeEach, describe, expect, it, vi } from
'vitest'
2
3
const
{ mockGetFolderMap, mockGetWorkflows, queryClient } = vi.hoisted(() => ({
4
mockGetFolderMap: vi.fn(() => ({})),
Callers
nothing calls this directly
Calls
3
useCreateFolder
Function · 0.90
useDuplicateFolderMutation
Function · 0.90
getOptimisticFolderByName
Function · 0.85
Tested by
no test coverage detected