@kody/jira
src/smoke-test.js
14 lines · 462 B · JavaScriptimport { 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)
}