diff --git a/__tests__/main.test.ts b/__tests__/main.test.ts index 61666bc1..dc8ff62c 100644 --- a/__tests__/main.test.ts +++ b/__tests__/main.test.ts @@ -1,16 +1,12 @@ import * as inputs from '../src/input-parameters' import * as octopus from '../src/create-release' -describe('inputs', () => { - it('successfully get input parameters', async () => { - const inputParameters = inputs.get() - expect(inputParameters != undefined) - }, 100000) -}) +test('get input parameters', () => { + const inputParameters = inputs.get() + expect(inputParameters != undefined) +}, 100000) -describe('releases', () => { - it('successfully creates a release', async () => { - const inputParameters = inputs.get() - octopus.createRelease(inputParameters) - }, 100000) -}) +test('create a release', () => { + const inputParameters = inputs.get() + return octopus.createRelease(inputParameters) +}, 100000)