Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fccview/jotty
/ users.test.ts
File
users.test.ts
tests/server-actions/users.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, it, expect, beforeEach, vi } from
'vitest'
2
import
{ mockFs, mockLock, mockUnlock, resetAllMocks, createFormData } from
'../setup'
3
4
const
mockReadJsonFile = vi.fn()
Callers
nothing calls this directly
Calls
9
resetAllMocks
Function · 0.90
createFormData
Function · 0.90
createUser
Function · 0.90
getUserByUsername
Function · 0.90
hasUsers
Function · 0.90
getUsers
Function · 0.90
deleteUser
Function · 0.90
ensureUser
Function · 0.90
updateUserSettings
Function · 0.90
Tested by
no test coverage detected