MCPcopy
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

1import { describe, it, expect, beforeEach, vi } from 'vitest'
2import { mockFs, mockLock, mockUnlock, resetAllMocks, createFormData } from '../setup'
3
4const mockReadJsonFile = vi.fn()

Callers

nothing calls this directly

Calls 9

resetAllMocksFunction · 0.90
createFormDataFunction · 0.90
createUserFunction · 0.90
getUserByUsernameFunction · 0.90
hasUsersFunction · 0.90
getUsersFunction · 0.90
deleteUserFunction · 0.90
ensureUserFunction · 0.90
updateUserSettingsFunction · 0.90

Tested by

no test coverage detected