external-protocol-perf.test.mjs
12 lines 424 B
Raw
sha256:b5f647cb9c409f563d4671fe3fc05ddea01fabfed9b41fc11cb923588e1c1baf mirror: GitHub Phase A durable MCP OAuth (#270) Human minor ⚠ breaking 10 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:b5f647cb9c409f563d4671fe3fc05ddea01fabfed9b41fc11cb923588e1c1baf mirror: GitHub Phase A durable MCP OAuth (#270) Human minor 10 days ago