Skip to content

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

Package listing

@kody/jira

src/smoke-test.js

14 lines · 462 B · JavaScript
import { smokeTest } from './jira.js'

/**
 * Verify Jira credentials with a read-only `/myself` call.
 * Without credentials, returns setup URLs instead of throwing.
 * @param {Object} [input]
 * @param {boolean} [input.dryRun] Skip the live `/myself` call.
 * @example
 * import smokeTest from 'kody:@kody/jira/smoke-test'
 * const result = await smokeTest()
 */
export default async function smokeTestEntrypoint(input = {}) {
	return await smokeTest(input)
}