overtrue
|
9711879a4b
|
test: add comprehensive unit tests for core utilities
- Add tests for array.ts (tree conversion, 100% coverage)
- Add tests for functions.ts (byte formatting, random strings, 100% coverage)
- Add tests for error-handler.ts (error parsing and handling, 98% coverage)
- Add tests for logger.ts (environment-aware logging)
- Add tests for bucket-policy.ts (S3 policy validation and management, 74% coverage)
- Add tests for lib/utils.ts (className merging, ref updates, 100% coverage)
Total: 121 new test cases, all passing
Core utilities coverage: 67.61%
|
2025-10-07 23:44:33 +08:00 |
|