- Add EXECUTOR_SPECIFICATION.md with formal v1.0 protocol spec - Add executor-openapi.yaml (OpenAPI 3.0 specification) - Create @tpmjs/executor-test compliance test package (15 tests) - Update Railway executor to v1.0 compliance (15/15 tests pass) - Update Unsandbox executor to v1.0 compliance (15/15 tests pass) - Update Vercel executor to v1.0 compliance - Add /info endpoint with capability advertisement to all executors - Add structured error codes (PACKAGE_NOT_FOUND, TOOL_NOT_FOUND, etc.) - Add protocolVersion and implementationVersion to /health responses - Add X-TPMJS-Protocol-Version header support - Add EXECUTOR_COMPLIANCE.md with test results documentation
14 lines
474 B
TypeScript
14 lines
474 B
TypeScript
import { describe, expect, it } from 'vitest';
|
|
|
|
describe('executor-test', () => {
|
|
it('should export run function', async () => {
|
|
const { run } = await import('./runner.js');
|
|
expect(typeof run).toBe('function');
|
|
});
|
|
|
|
it('should export test suite functions', async () => {
|
|
const { runCoreTests, runStandardTests } = await import('./index.js');
|
|
expect(typeof runCoreTests).toBe('function');
|
|
expect(typeof runStandardTests).toBe('function');
|
|
});
|
|
});
|