11 lines
328 B
TypeScript
11 lines
328 B
TypeScript
import { describe, it, expect } from 'vitest';
|
|
import { env } from '@/config';
|
|
|
|
describe('Environment Configuration Unit Test', () => {
|
|
it('should load default environment variables cleanly', () => {
|
|
expect(env).toBeDefined();
|
|
expect(env.PORT).toBeGreaterThan(0);
|
|
expect(env.DATABASE_URL).toBeDefined();
|
|
});
|
|
});
|