update tests

This commit is contained in:
Hailey
2024-06-19 23:23:11 -07:00
parent b32d50ed32
commit 428eb2e3c9
+2 -2
View File
@@ -803,7 +803,7 @@ describe('parseEmbedPlayerFromUrl', () => {
})
describe('createStarterPackLinkFromAndroidReferrer', () => {
const validOutput = 'https://bsky.app/start/haileyok.com/rkey'
const validOutput = 'at://haileyok.com/app.bsky.graph.starterpack/rkey'
it('returns a link when input contains utm_source and utm_content', () => {
expect(
@@ -816,7 +816,7 @@ describe('createStarterPackLinkFromAndroidReferrer', () => {
createStarterPackLinkFromAndroidReferrer(
'utm_source=bluesky&utm_content=starterpack_test-lover-9000.com_rkey',
),
).toEqual('https://bsky.app/start/test-lover-9000.com/rkey')
).toEqual('at://test-lover-9000.com/app.bsky.graph.starterpack/rkey')
})
it('returns a link when input contains utm_source and utm_content in different order', () => {