mirror of
https://github.com/actions/container-toolkit-action.git
synced 2025-12-11 20:47:07 +00:00
Wrap test exception
This commit is contained in:
@@ -57,6 +57,7 @@ describe('action', () => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
try {
|
||||||
await main.run()
|
await main.run()
|
||||||
|
|
||||||
expect(runMock).toHaveReturned()
|
expect(runMock).toHaveReturned()
|
||||||
@@ -64,5 +65,8 @@ describe('action', () => {
|
|||||||
1,
|
1,
|
||||||
'milliseconds not a number'
|
'milliseconds not a number'
|
||||||
)
|
)
|
||||||
|
} catch (error) {
|
||||||
|
console.log(error)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user