Fix test which is failing when pushing a tag
This commit is contained in:
@@ -294,6 +294,7 @@ describe('Inputs', () => {
|
|||||||
expect(inputs.tag).toBe('sha-tag')
|
expect(inputs.tag).toBe('sha-tag')
|
||||||
})
|
})
|
||||||
it('throws if no tag', () => {
|
it('throws if no tag', () => {
|
||||||
|
context.ref = ""
|
||||||
expect(() => inputs.tag).toThrow()
|
expect(() => inputs.tag).toThrow()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user