smoke.test.ts9 lines · main
| 1 | import { describe, expect, it } from 'bun:test'; |
| 2 | |
| 3 | describe('runtime smoke', () => { |
| 4 | it('env module loads with defaults', async () => { |
| 5 | const { env } = await import('./env.js'); |
| 6 | expect(env.BRIVEN_ENV).toMatch(/^(development|staging|production)$/); |
| 7 | expect(env.BRIVEN_RUNTIME_PORT).toBeGreaterThan(0); |
| 8 | }); |
| 9 | }); |