Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix(desktop): r1-h3 align authority fixtures with producer types

Mc02a34435837
diff --git a/desktop-app/ui/src/gfs/__tests__/inheritedAccess.test.ts b/desktop-app/ui/src/gfs/__tests__/inheritedAccess.test.ts
index 3ed5472fd..e0a6e3882 100644
--- a/desktop-app/ui/src/gfs/__tests__/inheritedAccess.test.ts
+++ b/desktop-app/ui/src/gfs/__tests__/inheritedAccess.test.ts
@@ -36,7 +36,7 @@ function resolveView(
}
function installClerumGfs(
- resolve: (uri: string) => Promise<ReturnType<typeof resolveView> | null>,
+ resolve: (uri: string) => Promise<Awaited<ReturnType<typeof resolveResource>> | null>,
listGrants: (resourceId: string) => Promise<unknown[]>,
listShares: (resourceId: string) => Promise<unknown[]>
) {
diff --git a/desktop-app/ui/src/hooks/domain/__tests__/useGfsBrowserController.test.tsx b/desktop-app/ui/src/hooks/domain/__tests__/useGfsBrowserController.test.tsx
index 9ae0150d9..ef32d6327 100644
--- a/desktop-app/ui/src/hooks/domain/__tests__/useGfsBrowserController.test.tsx
+++ b/desktop-app/ui/src/hooks/domain/__tests__/useGfsBrowserController.test.tsx
@@ -3261,13 +3261,7 @@ describe('useGfsBrowserController — grants list / revoke / inherit (#826)', ()
const emptyShares = await sharesListPage([])
const accessible = await listAccessiblePage([])
const children = await listChildrenPage([])
- const affordances = await affordancesResult(
- heldAffordances(['read', 'manage_acl'], {
- canDelegate: true,
- grantableBits: ['read'],
- canCreateShare: false,
- })
- )
+ const affordances = await affordancesResult(heldAffordances(['read', 'manage_acl']))
let manageReadStarted = false
Object.defineProperty(window, 'clerum', {
configurable: true,