Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Mar 11, 2024
1 parent a7fc93d commit 30a4c02
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/bsky/tests/label-hydration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,11 @@ describe('label hydration', () => {
expect(res.data.labels?.length).toBe(1)
expect(res.data.labels?.[0].src).toBe(labelerDid)
expect(res.data.labels?.[0].val).toBe('misleading')

expect(res.headers['atproto-content-labelers']).toEqual(
`${labelerDid};redact`,
network.bsky.ctx.cfg.labelsFromIssuerDids
.map((did) => `${did};redact`)
.join(','),
)
})
})

0 comments on commit 30a4c02

Please sign in to comment.