File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
import EventHub from '../common/nodejs/admin/eventHub.js' ;
2
2
import UserUtil from '../common/nodejs/admin/user.js' ;
3
3
import * as helper from '../app/helper.js' ;
4
- import { BlockNumberFilterType } from '../common/nodejs/formatter/eventHub' ;
4
+ import { BlockNumberFilterType } from '../common/nodejs/formatter/eventHub.js ' ;
5
5
import { consoleLogger } from '@davidkhala/logger/log4.js' ;
6
6
import BlockDecoder from '../common/nodejs/formatter/blockDecoder.js' ;
7
7
8
8
const logger = consoleLogger ( 'test:eventHub' ) ;
9
9
const { NEWEST , OLDEST } = BlockNumberFilterType ;
10
10
const org = 'astri.org' ;
11
- describe ( 'eventhub' , ( ) => {
11
+ describe ( 'eventhub' , function ( ) {
12
12
this . timeout ( 0 ) ;
13
13
const channelName = 'allchannel' ;
14
14
const user = helper . getOrgAdmin ( org , 'peer' ) ;
@@ -26,6 +26,7 @@ describe('eventhub', () => {
26
26
it ( 'block parser' , async ( ) => {
27
27
28
28
const eventHub = new EventHub ( channel , peer . eventer ) ;
29
+ console . debug ( user )
29
30
const identityContext = UserUtil . getIdentityContext ( user ) ;
30
31
const startBlock = OLDEST ;
31
32
const endBlock = NEWEST ;
You can’t perform that action at this time.
0 commit comments