external-protocol-perf.test.mjs
12 lines 424 B
Raw
sha256:baa800aedf841dbf32081aa7b2befa288ac33dfc7175ac55014c55c4d8c742f9 docs: move durable-auth freeze/evidence to local developmen… Human 11 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:baa800aedf841dbf32081aa7b2befa288ac33dfc7175ac55014c55c4d8c742f9 docs: move durable-auth freeze/evidence to local developmen… Human 11 days ago