test: Add test for latest_stable_release_data

This commit is contained in:
Edmund Miller 2022-11-13 15:39:14 -06:00 committed by Thomas A. Christensen II
parent 6cafaa8e2c
commit ed6b338f42

View file

@ -16,7 +16,12 @@ test('all_nf_releases', async t => {
t.is(typeof result, 'object') t.is(typeof result, 'object')
}) })
test.todo('lastest_stable_release_data') test('lastest_stable_release_data', async t => {
const result = await functions.latest_stable_release_data(t.context.octokit)
t.is(typeof result, 'object')
t.is(result.tag_name, 'v22.10.2')
})
test.todo('release_data') test.todo('release_data')
test.todo('nextflow_bin_url') test.todo('nextflow_bin_url')
test.todo('install_nextflow') test.todo('install_nextflow')