Skip to content

Commit 5911913

Browse files
AlexBennytorpedo89
andauthored
Add Threads test coverage (#252)
* Update referers.yml (#249) added threads.com as an additional source for Social Channel Threads * Add tests for Threads entries --------- Co-authored-by: thmsk <[email protected]>
1 parent 38b1b65 commit 5911913

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

resources/referer-tests.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,5 +329,9 @@
329329
{"spec": "pull/245: copilot.microsoft.com", "uri": "https://copilot.microsoft.com", "medium": "chatbot", "source": "Microsoft Copilot", "term": null, "known": true, "pr": "pull/245"},
330330
{"spec": "pull/245: chat.mistral.ai", "uri": "https://chat.mistral.ai", "medium": "chatbot", "source": "Mistral.ai", "term": null, "known": true, "pr": "pull/245"},
331331
{"spec": "pull/245: perplexity.ai", "uri": "https://perplexity.ai", "medium": "chatbot", "source": "Perplexity.ai", "term": null, "known": true, "pr": "pull/245"},
332-
{"spec": "pull/245: poe.com", "uri": "https://poe.com", "medium": "chatbot", "source": "Poe", "term": null, "known": true, "pr": "pull/245"}
332+
{"spec": "pull/245: poe.com", "uri": "https://poe.com", "medium": "chatbot", "source": "Poe", "term": null, "known": true, "pr": "pull/245"},
333+
{"spec": "pull/249: threads.com post", "uri": "https://www.threads.com/@user/post/ABC123xyz", "medium": "social", "source": "Threads", "term": null, "known": true, "pr": "pull/249"},
334+
{"spec": "pull/249: threads.net post", "uri": "https://www.threads.net/@user/post/ABC123xyz", "medium": "social", "source": "Threads", "term": null, "known": true, "pr": "pull/249"},
335+
{"spec": "pull/249: l.threads.com redirect", "uri": "https://l.threads.com/l/ABC123", "medium": "social", "source": "Threads", "term": null, "known": true, "pr": "pull/249"},
336+
{"spec": "pull/249: l.threads.net redirect", "uri": "https://l.threads.net/l/ABC123", "medium": "social", "source": "Threads", "term": null, "known": true, "pr": "pull/249"}
333337
]

resources/referers.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,10 @@ social:
378378

379379
Threads:
380380
domains:
381+
- threads.com
381382
- threads.net
382383
- l.threads.net
384+
- l.threads.com
383385
- com.instagram.barcelona # Threads for Android app
384386

385387
Youtube:

0 commit comments

Comments
 (0)