describe('running effects', () => {
it('runSync throws on fail', () => {
const pitcher = (): never => Effect.runSync(Effect.fail('bla'))
const ball = new Error('bla') // ❓
expect(pitcher).to.throw(ball)
})
})
describe('running effects', () => {
it('runSync throws on fail', () => {
const pitcher = (): never => Effect.runSync(Effect.fail('bla'))
const ball = new Error('bla') // ❓
expect(pitcher).to.throw(ball)
})
})