()
| 75 | |
| 76 | // Run examples |
| 77 | async function main() { |
| 78 | console.log('🚀 Micro Service Examples\n'); |
| 79 | |
| 80 | await verifyConnection(); |
| 81 | console.log(''); |
| 82 | |
| 83 | await sendWelcomeEmail(); |
| 84 | console.log(''); |
| 85 | |
| 86 | await sendCustomEmail(); |
| 87 | console.log(''); |
| 88 | |
| 89 | console.log('✨ Examples completed!'); |
| 90 | } |
| 91 | |
| 92 | // Only run if this file is executed directly |
| 93 | if (import.meta.url === `file://${process.argv[1]}`) { |
no test coverage detected