MCPcopy Create free account
hub / github.com/AI45Lab/Code / main

Function main

sdk/node/examples/streaming/integration_tests.ts:332–353  ·  view source on GitHub ↗

* Main test runner.

()

Source from the content-addressed store, hash-verified

330 * Main test runner.
331 */
332async function main(): Promise<void> {
333 console.log('A3S Code Node.js SDK - Integration Tests\n');
334 console.log('='.repeat(80));
335
336 // Load config
337 const configPath: string = IntegrationTests.findConfigPath();
338 console.log(`Using config: ${configPath}`);
339 console.log('='.repeat(80));
340 console.log();
341
342 // Create agent
343 const agent: Agent = await Agent.create(configPath);
344
345 // Run tests
346 const tests = new IntegrationTests(agent, configPath);
347 await tests.runAll();
348
349 console.log('\n\n');
350 console.log('='.repeat(80));
351 console.log('All Node.js SDK integration tests completed successfully!');
352 console.log('='.repeat(80));
353}
354
355// Run tests
356main().catch((err: unknown) => {

Callers 1

Calls 4

runAllMethod · 0.95
logMethod · 0.45
findConfigPathMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected