Skip to content

src/smoke-test.ts

14 lines · 442 B · TypeScript
Raw
import { smokeTest } from './client.ts'

/**
 * Verify Reddit identity access without returning the connected username.
 * @example
 * import smokeTest from 'kody:@kody/reddit/smoke-test'
 * const result = await smokeTest()
 * // => { ok: true, integration: 'reddit', hasId: true, hasName: true }
 */
export default async function smokeTestEntrypoint(
	params: { integration?: string; account?: string } = {},
) {
	return smokeTest(params)
}