@kody/twitch
src/smoke-test.ts
13 lines · 454 B · TypeScriptimport { 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))
}