import { assert } from "jsr:@std/assert"; import { fetchFriends } from "./beatleader.ts"; const PLAYER_ID = "76561199407393962"; Deno.test({ name: "live lookup: player has mutual BeatLeader friends", sanitizeOps: false, sanitizeResources: false, async fn() { const mutuals = await fetchFriends(PLAYER_ID, "mutual", 100); assert(mutuals.length > 0, `Expected mutual friends for player ${PLAYER_ID}`); }, });