@endo/ses-ava

0.2.44 • Public • Published

ses-ava

SES-Ava can wrap Ava test functions such that errors are reported to the console in full detail. This compensates for how SES, with full error taming, only reveals stack traces to debugging tools.

To use this module, create an Ava module wrapper in your target project.

import rawTest from 'ava';
import { wrapTest } from '@endo/ses-ava';

const test = wrapTest(rawTest);

Then, import your test wrapper instead of Ava in your tests.

SES-Ava rhymes with Nineveh.

Readme

Keywords

Package Sidebar

Install

npm i @endo/ses-ava

Weekly Downloads

783

Version

0.2.44

License

Apache-2.0

Unpacked Size

25.8 kB

Total Files

11

Last publish

Collaborators

  • mhofman
  • kriskowal
  • michaelfig
  • erights
  • warner