♻️ style: format code with Prettier and fix .gitattributes

- Add *.yaml text eol=lf rule to .gitattributes for consistent line endings
- Format cleaner.ts with Prettier (parameter and chain formatting)
- Format CleanerPage.tsx (JSX formatting)
- Format cleaner.test.ts (array formatting)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
test
2026-03-16 22:42:16 +08:00
parent 975bee6ce8
commit 103effcfca
4 changed files with 39 additions and 18 deletions

View File

@@ -140,11 +140,7 @@ describe('Cleaner Service (Unit)', () => {
describe('batch and concurrency helpers', () => {
it('should split orders into batches', () => {
const batches = createBatches(['A', 'B', 'C', 'D', 'E'], 2)
expect(batches).toEqual([
['A', 'B'],
['C', 'D'],
['E']
])
expect(batches).toEqual([['A', 'B'], ['C', 'D'], ['E']])
})
it('should identify missing orders', () => {