diff --git a/test/integration/onchain/chain.test.ts b/test/integration/onchain/chain.test.ts index 089dc9d..0af82e0 100644 --- a/test/integration/onchain/chain.test.ts +++ b/test/integration/onchain/chain.test.ts @@ -1,16 +1,15 @@ import { describe } from 'mocha' -import { Express } from 'express' import { expect } from 'chai' -import Indexer from '../../../src/lib/indexer' - -import { withIdentitySelfMock } from '../../helpers/mock' +// import { Express } from 'express' +// import Indexer from '../../../src/lib/indexer' +// import { withIdentitySelfMock } from '../../helpers/mock' +// import { withAppAndIndexer } from '../../helpers/chainTest' import Database from '../../../src/lib/db' import ChainNode from '../../../src/lib/chainNode' import { logger } from '../../../src/lib/logger' import env from '../../../src/env' import { pollTransactionState } from '../../helpers/poll' -import { withAppAndIndexer } from '../../helpers/chainTest' describe('on-chain', function () { this.timeout(120000) @@ -22,11 +21,9 @@ describe('on-chain', function () { logger, userUri: env.USER_URI, }) - const context: { app: Express; indexer: Indexer } = {} as { app: Express; indexer: Indexer } - - withAppAndIndexer(context) - - withIdentitySelfMock() + // const context: { app: Express; indexer: Indexer } = {} as { app: Express; indexer: Indexer } + // withAppAndIndexer(context) + // withIdentitySelfMock() beforeEach(async function () { await db.delete('transaction', {})