refactor(event): rename emotion events to reaction

This commit is contained in:
wxianfeng committed 2026-07-13 15:06:03 +08:00
1 parent 368e439280
commit 1b4bb6b498
9 files changed
+57 -53

No files matched your search

+4 -4
View File
@@ -51,8 +51,8 @@ func TestPersonalEventListHidesSchemaIDs(t *testing.T) {
personal.EventReadGroup,
personal.EventRecallO2O,
personal.EventRecallGroup,
personal.EventEmotionO2O,
personal.EventEmotionGroup,
personal.EventReactionO2O,
personal.EventReactionGroup,
} {
if !strings.Contains(got, eventKey) {
t.Fatalf("list output missing %s: %s", eventKey, got)
@@ -282,8 +282,8 @@ func TestPersonalActionEventSchemaUsesConservativeJSONSchema(t *testing.T) {
personal.EventReadGroup,
personal.EventRecallO2O,
personal.EventRecallGroup,
personal.EventEmotionO2O,
personal.EventEmotionGroup,
personal.EventReactionO2O,
personal.EventReactionGroup,
} {
t.Run(eventKey, func(t *testing.T) {
cmd := newEventSchemaCommand()