Skip to content
← Public packages

@kody/twitch

Look up Twitch users, channels, streams, and follows, with dry-run chat and channel updates.

FollowFork

Files

smoke-test.ts

13 lines · 454 B · TypeScript
import { inputRecord, runSmokeTest } from './client.ts'

/**
 * Verify the saved Twitch OAuth integration without returning names or emails.
 *
 * @example
 * import smokeTest from 'kody:@kody/twitch/smoke-test'
 * const result = await smokeTest()
 * // => { ok: true, integration: 'twitch', hasUserId: true, hasLogin: true }
 */
export default async function smokeTest(params: Record<string, unknown> = {}) {
	return runSmokeTest(inputRecord(params))
}