feat: refine UI, improve UX, optimize the analysis pipeline, and add character standing positions

This commit is contained in:
saturn
2026-04-02 17:39:16 +08:00
parent c3e74c228a
commit 9703714b69
153 changed files with 4472 additions and 1088 deletions

View File

@@ -0,0 +1,14 @@
import { describe, expect, it } from 'vitest'
import { formatLocationAvailableSlotsText } from '@/lib/location-available-slots'
describe('location available slots', () => {
it('formats english slot headers without leaking chinese labels', () => {
const text = formatLocationAvailableSlotsText(
['left side near the wall'],
'en',
)
expect(text).toBe('Available character slots:\n- left side near the wall')
expect(text).not.toContain('可站位置:')
})
})