Skip to content

Commit eb77a71

Browse files
committed
fix: dipsCollector
1 parent 53efdea commit eb77a71

File tree

1 file changed

+2
-1
lines changed
  • packages/indexer-common/src/indexing-fees/__tests__

1 file changed

+2
-1
lines changed

packages/indexer-common/src/indexing-fees/__tests__/dips.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ let graphNode: GraphNode
4343
let managementModels: IndexerManagementModels
4444
let queryFeeModels: QueryFeeModels
4545
let network: Network
46+
let dipsCollector: DipsCollector
4647
const networkSpecWithDips = {
4748
...testNetworkSpecification,
4849
indexerOptions: {
@@ -100,6 +101,7 @@ const setup = async () => {
100101
graphNode,
101102
metrics,
102103
)
104+
dipsCollector = network.dipsCollector!
103105
}
104106

105107
const setupEach = async () => {
@@ -386,7 +388,6 @@ describe('DipsCollector', () => {
386388
})
387389

388390
describe('payment collection', () => {
389-
const dipsCollector = network.dipsCollector!
390391
const testDeploymentId = 'QmTZ8ejXJxRo7vDBS4uwqBeGoxLSWbhaA7oXa1RvxunLy7'
391392
const testAllocationId = 'abcd47df40c29949a75a6693c77834c00b8ad626'
392393
const testAgreementId = '123e4567-e89b-12d3-a456-426614174000'

0 commit comments

Comments
 (0)