Skip to content

Commit

Permalink
before bump to fabric-sdk-node
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkhala committed Jan 10, 2024
1 parent d84e04a commit 3585a19
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test-oneoff/eventHubTest.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import EventHub from '../common/nodejs/admin/eventHub.js';
import UserUtil from '../common/nodejs/admin/user.js';
import * as helper from '../app/helper.js';
import {BlockNumberFilterType} from '../common/nodejs/formatter/eventHub';
import {BlockNumberFilterType} from '../common/nodejs/formatter/eventHub.js';
import {consoleLogger} from '@davidkhala/logger/log4.js';
import BlockDecoder from '../common/nodejs/formatter/blockDecoder.js';

const logger = consoleLogger('test:eventHub');
const {NEWEST, OLDEST} = BlockNumberFilterType;
const org = 'astri.org';
describe('eventhub', () => {
describe('eventhub', function () {
this.timeout(0);
const channelName = 'allchannel';
const user = helper.getOrgAdmin(org, 'peer');
Expand All @@ -26,6 +26,7 @@ describe('eventhub', () => {
it('block parser', async ()=> {

const eventHub = new EventHub(channel, peer.eventer);
console.debug(user)
const identityContext = UserUtil.getIdentityContext(user);
const startBlock = OLDEST;
const endBlock = NEWEST;
Expand Down

0 comments on commit 3585a19

Please sign in to comment.