Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boringstack-xyz/boringstack
/ ability.test.ts
File
ability.test.ts
apps/ui/src/lib/acl/ability.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ subject } from
"@casl/ability"
;
2
import
{ describe, expect, it } from
"vitest"
;
3
4
import
type
{ IResolvedFeatures } from
"@/lib/session"
;
Callers
nothing calls this directly
Calls
3
buildAbility
Function · 0.90
siteIn
Function · 0.70
teamMemberIn
Function · 0.70
Tested by
no test coverage detected