Skip to content

Commit

Permalink
Stub logger
Browse files Browse the repository at this point in the history
  • Loading branch information
ljones140 committed Oct 15, 2024
1 parent 0eaf2e1 commit 445667f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/business/definitionServiceTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ function setup(definition, coordinateSpec, curation) {
const summary = { summarizeAll: () => Promise.resolve(null) }
const aggregator = { process: () => Promise.resolve(definition) }
const service = DefinitionService(harvestStore, harvestService, summary, aggregator, curator, store, search, cache)
service.logger = { info: sinon.stub() }
service.logger = { info: sinon.stub(), debug: sinon.stub() }
service._harvest = sinon.stub()
const coordinates = EntityCoordinates.fromString(coordinateSpec || 'npm/npmjs/-/test/1.0')
return { coordinates, service }
Expand Down

0 comments on commit 445667f

Please sign in to comment.