Closed bitghostm closed 5 years ago
it('throws if transform fails', async () => { inst.addTransform('abort', (val, args) => { throw new Error('oops') }) expect(inst.evalSync.bind(inst, '"hello"|abort')).toThrow(/oops/) })
Wow, great catch and best possible bug report format. I’ll look into this!