* Main test runner.
()
| 330 | * Main test runner. |
| 331 | */ |
| 332 | async 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 |
| 356 | main().catch((err: unknown) => { |
no test coverage detected