Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kody/reddit

src/smoke-test.ts

14 lines · 442 B · TypeScript
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)
}