import { describe, it, expect } from 'vitest';
import { buildArbitrationCard } from './arbitration-card.mjs';

describe('arbitration-card owner-seal', () => {
  it('hold honest text + sealAction', () => {
    const c = buildArbitrationCard({ side: 'judge', level: 'L2', round: 3, objectionVerbatim: 'o', controllerPositionVerbatim: 'p', sealAction: 'owner-seal:h' });
    const hold = c.options.find((o) => o.key === 'hold');
    expect(hold.whatChanges).toContain('owner-seal');
    expect(hold.whatChanges).not.toContain('escape-грант');
    expect(c.sealAction).toBe('owner-seal:h');
  });
});
