external-protocol-perf.test.mjs
12 lines 424 B
Raw
sha256:fbe982a22c05c6fe2e93876f250deecdb43d883f648b4e1810c7546caa9f17db docs: activate KNOWTATION- board identity and preserve livi… Human minor ⚠ breaking 3 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
5 describe('Performance: External Protocol', () => {
6 it('should fetch tasks rapidly', async () => {
7 expect(protocol.handleGetTasks).to.be.a('function');
8 const start = Date.now();
9 const duration = Date.now() - start;
10 expect(duration).to.be.below(100);
11 });
12 });
File History 1 commit
sha256:fbe982a22c05c6fe2e93876f250deecdb43d883f648b4e1810c7546caa9f17db docs: activate KNOWTATION- board identity and preserve livi… Human minor 3 days ago