36 lines
1.3 KiB
JSON
36 lines
1.3 KiB
JSON
{
|
|
"testModules": [
|
|
{
|
|
"moduleId": "/Users/egullickson/Documents/Technology/coding/motovaultpro/frontend/src/features/admin/__tests__/useAdmins.test.tsx",
|
|
"tests": [
|
|
{
|
|
"name": "should fetch admin users",
|
|
"fullName": "Admin user management hooks useAdmins should fetch admin users",
|
|
"state": "passed"
|
|
},
|
|
{
|
|
"name": "should create admin and show success toast",
|
|
"fullName": "Admin user management hooks useCreateAdmin should create admin and show success toast",
|
|
"state": "passed"
|
|
},
|
|
{
|
|
"name": "should handle create admin error",
|
|
"fullName": "Admin user management hooks useCreateAdmin should handle create admin error",
|
|
"state": "passed"
|
|
},
|
|
{
|
|
"name": "should revoke admin and show success toast",
|
|
"fullName": "Admin user management hooks useRevokeAdmin should revoke admin and show success toast",
|
|
"state": "passed"
|
|
},
|
|
{
|
|
"name": "should reinstate admin and show success toast",
|
|
"fullName": "Admin user management hooks useReinstateAdmin should reinstate admin and show success toast",
|
|
"state": "passed"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"unhandledErrors": [],
|
|
"reason": "passed"
|
|
} |