@atproto/bsky 0.0.26 → 0.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -294,4 +294,14 @@ describe('pds follow views', () => {
294
294
  },
295
295
  )
296
296
  })
297
+
298
+ it('fetches relationships between users', async () => {
299
+ const res = await agent.api.app.bsky.graph.getRelationships({
300
+ actor: sc.dids.bob,
301
+ others: [sc.dids.alice, sc.dids.bob, sc.dids.carol, 'did:example:fake'],
302
+ })
303
+ expect(res.data.actor).toEqual(sc.dids.bob)
304
+ expect(res.data.relationships.length).toBe(4)
305
+ expect(forSnapshot(res.data)).toMatchSnapshot()
306
+ })
297
307
  })