Bluesky app fork with some witchin' additions 馃挮 witchsky.app
bluesky fork client
119
fork

Configure Feed

Select the types of activity you want to include in your feed.

at a876aae44ea07494ebea9727350aa060b81f317b 23 lines 801 B view raw
1import {describe, expect, it} from '@jest/globals' 2 3import {parseLinkingUrl} from '../parseLinkingUrl' 4 5describe('parseLinkingUrl', () => { 6 it('should correctly parse bluesky:// URLs', () => { 7 const url = 8 'bluesky://intent/age-assurance?result=success&actorDid=did:example:123' 9 const urlp = parseLinkingUrl(url) 10 expect(urlp.protocol).toBe('bluesky:') 11 expect(urlp.host).toBe('') 12 expect(urlp.pathname).toBe('/intent/age-assurance') 13 }) 14 15 it('should correctly parse standard URLs', () => { 16 const url = 17 'https://bsky.app/intent/age-assurance?result=success&actorDid=did:example:123' 18 const urlp = parseLinkingUrl(url) 19 expect(urlp.protocol).toBe('https:') 20 expect(urlp.host).toBe('bsky.app') 21 expect(urlp.pathname).toBe('/intent/age-assurance') 22 }) 23})