Neutral sample account names in tests, check scripts and the site's demo UI

The framework moves to 0e344ee.
This commit is contained in:
CRTkafa 2026-10-19 01:02:34 +07:00
parent 83f8c363b4
commit 4c6817ecb5
42 changed files with 136 additions and 136 deletions

View file

@ -98,7 +98,7 @@ function env() {
const fetch = (async (input: unknown) => String(input).includes('/live_pipeline/events')
? new Response(stream, { status: 200, headers: { 'content-type': 'text/event-stream' } })
: new Response('{}')) as typeof globalThis.fetch;
const win = { fetch, location: { href: `https://x.com/playfishies/status/${POST}` }, XMLHttpRequest: FakeXHR as unknown as typeof XMLHttpRequest };
const win = { fetch, location: { href: `https://x.com/otheraccount/status/${POST}` }, XMLHttpRequest: FakeXHR as unknown as typeof XMLHttpRequest };
const send = (op: 'FavoriteTweet' | 'UnfavoriteTweet', id = POST) => {
const xhr = new win.XMLHttpRequest();
xhr.open('POST', `/i/api/graphql/q/${op}`);