Wrap test exception

This commit is contained in:
Nick Alteen
2023-09-15 12:35:28 -04:00
parent 99b422f0cb
commit fa0407d6f5

View File

@@ -57,6 +57,7 @@ describe('action', () => {
}
})
try {
await main.run()
expect(runMock).toHaveReturned()
@@ -64,5 +65,8 @@ describe('action', () => {
1,
'milliseconds not a number'
)
} catch (error) {
console.log(error)
}
})
})