diff --git a/packages/bsky/tests/auto-moderator/takedowns.test.ts b/packages/bsky/tests/auto-moderator/takedowns.test.ts index 733c7a87baf..6c7b0669b77 100644 --- a/packages/bsky/tests/auto-moderator/takedowns.test.ts +++ b/packages/bsky/tests/auto-moderator/takedowns.test.ts @@ -98,7 +98,7 @@ describe('takedowner', () => { .where('uri', '=', post.ref.uriStr) .select('takedownId') .executeTakeFirst() - expect(recordPds?.takedownId).toEqual(modAction.id.toString()) + expect(recordPds?.takedownId).toEqual(modAction.id) expect(testInvalidator.invalidated.length).toBe(1) expect(testInvalidator.invalidated[0].subject).toBe( @@ -140,7 +140,7 @@ describe('takedowner', () => { .where('uri', '=', res.data.uri) .select('takedownId') .executeTakeFirst() - expect(recordPds?.takedownId).toEqual(modAction.id.toString()) + expect(recordPds?.takedownId).toEqual(modAction.id) expect(testInvalidator.invalidated.length).toBe(2) expect(testInvalidator.invalidated[1].subject).toBe(