fixed format issues
This commit is contained in:
parent
a700818a06
commit
08f713d98b
55 changed files with 5680 additions and 5533 deletions
|
|
@ -1,10 +1,6 @@
|
|||
import { beforeEach, describe, expect, it } from 'bun:test';
|
||||
import { z } from 'zod';
|
||||
import {
|
||||
baseAppSchema,
|
||||
ConfigManager,
|
||||
createAppConfig,
|
||||
} from '../src';
|
||||
import { baseAppSchema, ConfigManager, createAppConfig } from '../src';
|
||||
import { ConfigError, ConfigValidationError } from '../src/errors';
|
||||
|
||||
// Mock loader for testing
|
||||
|
|
@ -160,7 +156,6 @@ describe('ConfigManager', () => {
|
|||
expect(validated).toEqual({ name: 'test', port: 3000 });
|
||||
});
|
||||
|
||||
|
||||
it('should add environment if not present', () => {
|
||||
const mockManager = new ConfigManager({
|
||||
environment: 'test',
|
||||
|
|
@ -172,7 +167,6 @@ describe('ConfigManager', () => {
|
|||
});
|
||||
});
|
||||
|
||||
|
||||
describe('Config Builders', () => {
|
||||
it('should create app config with schema', () => {
|
||||
const schema = z.object({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue