From 54b1710ad434e66bfaaa62509d174ce196d47e38 Mon Sep 17 00:00:00 2001 From: dholms Date: Fri, 22 Dec 2023 17:20:35 -0600 Subject: [PATCH] fix ozone tests --- .../ozone/tests/__snapshots__/moderation-events.test.ts.snap | 2 +- packages/ozone/tests/moderation-events.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ozone/tests/__snapshots__/moderation-events.test.ts.snap b/packages/ozone/tests/__snapshots__/moderation-events.test.ts.snap index 1d2b972e42e..40f510dd969 100644 --- a/packages/ozone/tests/__snapshots__/moderation-events.test.ts.snap +++ b/packages/ozone/tests/__snapshots__/moderation-events.test.ts.snap @@ -6,7 +6,7 @@ Object { "createdBy": "did:example:labeler", "event": Object { "$type": "com.atproto.admin.defs#modEventLabel", - "comment": "automated label", + "comment": "[AutoModerator]: Applying labels", "createLabelVals": Array [ "test-label", ], diff --git a/packages/ozone/tests/moderation-events.test.ts b/packages/ozone/tests/moderation-events.test.ts index 813cb500b8b..071a0b5ca95 100644 --- a/packages/ozone/tests/moderation-events.test.ts +++ b/packages/ozone/tests/moderation-events.test.ts @@ -200,7 +200,7 @@ describe('moderation-events', () => { expect(allEvents.data.events.length).toEqual(5) expect(defaultEvents.length).toEqual(allEvents.data.events.length) expect(reversedEvents.length).toEqual(allEvents.data.events.length) - expect(reversedEvents[0].id).toEqual(defaultEvents[3].id) + expect(reversedEvents[0].id).toEqual(defaultEvents[4].id) }) })