Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: updated tests to return valid results
  • Loading branch information
jbristowe committed Jul 21, 2021
1 parent 4dd58f4 commit 3172be8
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions __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)

0 comments on commit 3172be8

Please sign in to comment.