Commit Graph
3 Commits
Author SHA1 Message Date
overtrue 6ab024be1c style: format code with Prettier
- Auto-format all files to comply with Prettier rules
- Fix code style issues in 545 files
2025-11-01 00:03:01 +08:00
overtrue f9c11b4c77 fix: resolve prettier formatting issues for CI
- Add .cursor, .github, .specify directories to .prettierignore
- Add auto-generated type files to .prettierignore
- Fix formatting in test files
- Fixes GitHub Actions lint failures
2025-10-07 23:50:59 +08:00
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