File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
packages/eventual-send/test Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
import { wrapTest } from '@agoric/ses-ava' ;
2
2
import '@agoric/install-ses' ;
3
3
import rawTest from 'ava' ;
4
- import { E } from './get-hp' ;
4
+ // import { E } from './get-hp';
5
5
6
6
// This file is a variation of the `test-ses-ava-reject` from the
7
7
// `@agoric/ses-ava` package. The difference is that this test
@@ -11,16 +11,21 @@ const test = wrapTest(rawTest);
11
11
12
12
test ( 'ses-ava reject console output' , t => {
13
13
t . assert ( true ) ;
14
+ // Uncomment this to see something like the text in the extended comment below
15
+
16
+ /*
14
17
return E.when(Promise.resolve(null), v1 =>
15
18
E.when(v1, v2 =>
16
19
E.when(v2, _ => {
17
20
assert.typeof(88, 'string', assert.details`msg ${'NOTICE ME'}`);
18
21
}),
19
22
),
20
23
);
24
+ */
21
25
} ) ;
22
26
23
27
/*
28
+ Uncommenting the test code above should produce something like the following.
24
29
Some of this output still comes from ava. The stack-like display comes from
25
30
the SES `console`, which shows the detailed error message including the
26
31
redacted `'NOTICE ME'` that ava has no access to.
You can’t perform that action at this time.
0 commit comments