@devtea2026/asperiores-explicabo-fugit-repellat
v5.7.96
Published
Downloads
1,275
Maintainers
Keywords
Readme
@devtea2026/asperiores-explicabo-fugit-repellat
Just a method to expect an async method to throw
const expectToThrow = require('@devtea2026/asperiores-explicabo-fugit-repellat')
describe('some method', function(){
it('must throw', async function(){
await expectToThrow(async function(){
await someMethod()
})
})
})