From 4fef68b47bc266003d9531c7d0528a0be8c3f887 Mon Sep 17 00:00:00 2001 From: dholms Date: Sun, 1 Oct 2023 14:16:46 -0500 Subject: [PATCH] takedown tests --- packages/bsky/tests/auto-moderator/takedowns.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(