import test from 'node:test'; import assert from 'node:assert/strict'; import { createEmotes } from '../src/shared/emotes.js'; import { EMOTE_COOLDOWN_MS, EMOTE_DURATION_MS } from '../constants/emotes.js'; test('emotes validate fixed choices, rate limit each player and expire without changing battle state', () => { const emotes = createEmotes(); assert.equal(emotes.send(0, '