MCPcopy Create free account
hub / github.com/dfinity/orbit / resolver.spec.ts

File resolver.spec.ts

cli/src/audit/resolver.spec.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it, beforeEach } from 'vitest';
2import { minVotesForRule, resolveApprovers, walkQuorumRules } from './resolver';
3import { makeGroup, makeNamedRule, makeUser, resetCounter } from './checks/fixtures';
4import { NamedRule, RequestPolicyRule, User, UUID, UserSpecifier } from './types';

Callers

nothing calls this directly

Calls 10

resetCounterFunction · 0.90
makeUserFunction · 0.90
resolveApproversFunction · 0.90
makeGroupFunction · 0.90
makeNamedRuleFunction · 0.90
minVotesForRuleFunction · 0.90
collectFunction · 0.85
fiveActiveFunction · 0.85
namedMapFunction · 0.85
mapMethod · 0.80

Tested by

no test coverage detected