external-protocol-claim.test.mjs
15 lines 572 B
Raw
sha256:700fafdd1afa490919f9515d660ca6e75456bcd5bb67513abcd8757a634c01f6 docs: record AIP-b SD-21 land (KN #308) Human 9 days ago
1 import { describe, it } from 'node:test';
2 import { expect } from 'chai';
3 import * as protocol from '../../lib/agent/external-agent-protocol.mjs';
4 import { createMockInput } from '../fixtures/agent/external-protocol-helpers.mjs';
5
6 describe('Integration: External Protocol Claim Flow', () => {
7 it('should have handleClaimTask exported', async () => {
8 expect(protocol.handleClaimTask).to.be.a('function');
9 });
10
11 it('should simulate a task claim validation', async () => {
12 const input = createMockInput();
13 expect(input.taskId).to.equal('task-1');
14 });
15 });
File History 1 commit
sha256:700fafdd1afa490919f9515d660ca6e75456bcd5bb67513abcd8757a634c01f6 docs: record AIP-b SD-21 land (KN #308) Human 9 days ago