junhoyeo / threads-api

Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's Threads. Web UI Included.
https://threads.junho.io
MIT License
1.59k stars 134 forks source link

Rewrite `getToken` test #214

Closed junhoyeo closed 1 year ago

junhoyeo commented 1 year ago

Wait I think this test is still wrong, this have no effect since we're not calling getToken here. And we have to mock HttpsProxyAgent & reinit ThreadsAPI separated from the previous test, or it'll not work either.

From https://github.com/junhoyeo/threads-api/pull/203/files#r1267312524