refactor: update testing layers and configurations

- Changed the setup file path in vitest configuration for better organization.
- Refactored the EventBus implementation to streamline event handling.
- Updated various test files to utilize new testing layers for improved clarity and maintainability.
- Introduced new utility layers for file system and persistent service mocks to enhance test reliability.
- Enhanced the platform layer to include necessary services for testing environments.
This commit is contained in:
d-kimsuon
2025-10-18 20:07:47 +09:00
parent 6bea519c57
commit a77d7e205b
20 changed files with 967 additions and 1040 deletions

View File

@@ -29,7 +29,9 @@ const LayerImpl = Effect.gen(function* () {
if (Either.isLeft(branches)) {
return {
response: [],
response: {
success: false,
},
status: 200,
} as const satisfies ControllerResponse;
}
@@ -59,7 +61,9 @@ const LayerImpl = Effect.gen(function* () {
if (Either.isLeft(commits)) {
return {
response: [],
response: {
success: false,
},
status: 200,
} as const satisfies ControllerResponse;
}