1.2.7 • Published 9 months ago

@endo/ses-ava v1.2.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

@endo/ses-ava

SES-Ava wraps Ava test functions and initializes the SES-shim with options suitable for debugging tests. This includes logging errors to the console with

  • deep stacks of prior turns
  • unredacted stack traces
  • unredacted error messages

To use this module, in your Ava test files, replace

import 'ses'; // or however you initialize the SES-shim
import test from 'ava';

with

import test from '@endo/ses-ava/prepare-endo.js';

and add

  "devDependencies": {
    // ...
    "@endo/ses-ava": "...", // for the current version of @endo/ses-ava
    // ...
  },

specifically to "devDependencies". @endo/ses-ava itself depends on Ava as a regular dependency, so it you include @endo/ses-ava as a regular dependency, bundlers might bundle your code with all of Ava.

SES-Ava rhymes with Nineveh.

Compat note

If you were already using @endo/ses-ava by doing

import 'ses'; // or however you initialize the SES-shim
import rawTest from 'ava';
import { wrapTest } from '@endo/ses-ava';

const test = wrapTest(rawTest);

that code will continue to work. But it should be upgraded to the above pattern if possible.

1.2.7

9 months ago

1.2.6

9 months ago

1.2.5

11 months ago

1.2.4

12 months ago

1.2.3

12 months ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago

0.2.41

2 years ago

0.2.44

2 years ago

0.2.43

2 years ago

0.2.40

2 years ago

0.2.39

2 years ago

0.2.38

2 years ago

0.2.37

3 years ago

0.2.36

3 years ago

0.2.35

3 years ago

0.2.34

3 years ago

0.2.33

3 years ago

0.2.32

3 years ago

0.2.27

3 years ago

0.2.30

3 years ago

0.2.31

3 years ago

0.2.29

3 years ago

0.2.28

3 years ago

0.2.26

3 years ago

0.2.25

3 years ago

0.2.24

3 years ago

0.2.23

3 years ago

0.2.22

3 years ago

0.2.16

3 years ago

0.2.15

3 years ago

0.2.14

3 years ago

0.2.21

3 years ago

0.2.20

3 years ago

0.2.19

3 years ago

0.2.18

3 years ago

0.2.17

3 years ago

0.2.13

4 years ago

0.2.12

4 years ago

0.2.11

4 years ago

0.2.10

4 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago