import { computeOmnlReconcileAnchor } from './omnl-reconcile-anchor';

describe('computeOmnlReconcileAnchor', () => {
  it('returns ok and 64-char hex sha256 when config files exist', () => {
    const r = computeOmnlReconcileAnchor();
    expect(r.ok).toBe(true);
    expect(r.sha256).toMatch(/^[a-f0-9]{64}$/);
    expect(r.registryPath).toContain('omnl-ipsas-gl-registry');
    expect(r.matrixPath).toContain('omnl-journal-matrix');
  });
});
