@devtea2026/asperiores-explicabo-fugit-repellat

2.4.30 • Public • Published

Build Status

@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()
        })
    })
})

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.4.30
    47
    • latest

Version History

Package Sidebar

Install

npm i @devtea2026/asperiores-explicabo-fugit-repellat

Weekly Downloads

402

Version

2.4.30

License

MIT

Unpacked Size

62.3 kB

Total Files

167

Last publish

Collaborators

  • quinterochris100