first commit

This commit is contained in:
wsq
2026-05-13 21:58:19 +08:00
commit 0167c66cb7
1475 changed files with 233414 additions and 0 deletions
@@ -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('可站位置:')
})
})