Skip to content

Commit

Permalink
takedown tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Oct 1, 2023
1 parent dc0360f commit 4fef68b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bsky/tests/auto-moderator/takedowns.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 4fef68b

Please sign in to comment.