Skip to content

Commit

Permalink
feat: updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jbristowe committed Sep 17, 2021
1 parent 5a7923b commit 505b877
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions __tests__/main.test.ts
Expand Up @@ -3,8 +3,12 @@ import * as octopus from '../src/create-release'

test('get input parameters', () => {
const inputParameters = inputs.get()
expect(inputParameters != undefined)
}, 100000)
expect(inputParameters).toBeDefined()
expect(inputParameters.packages).toBeDefined()
expect(inputParameters.packages).toHaveLength(2)
expect(inputParameters.packages).toContain('foo:1.2.3-quux')
expect(inputParameters.packages).toContain('bar:4.5.6-xyzzy')
})

test('create a release', () => {
const inputParameters = inputs.get()
Expand Down

0 comments on commit 505b877

Please sign in to comment.