Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dispatcharr/Dispatcharr
/ UserUtils.test.js
File
UserUtils.test.js
frontend/src/utils/forms/__tests__/UserUtils.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, it, expect, vi, beforeEach } from
'vitest'
;
2
3
vi.mock(
'../../../api.js'
, () => ({
4
default: {
Callers
nothing calls this directly
Calls
10
createUser
Function · 0.90
updateUser
Function · 0.90
generateApiKey
Function · 0.90
revokeApiKey
Function · 0.90
userToFormValues
Function · 0.90
formValuesToPayload
Function · 0.90
getFormInitialValues
Function · 0.90
makeUser
Function · 0.85
validate
Function · 0.85
makeValues
Function · 0.70
Tested by
no test coverage detected