Skip to content

Commit

Permalink
test: fixed esm test for mongo (#1077)
Browse files Browse the repository at this point in the history
  • Loading branch information
aryamohanan authored Mar 18, 2024
1 parent 832238e commit 457dd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/collector/test/tracing/database/mongodb/app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ app.post('/long-find', (req, res) => {
// Execute another traced call to verify that we keep the tracing context.
return fetch(`http://127.0.0.1:${agentPort}?call=${call}`);
})
.then(() => res.json(mongoResponse))
.then(() => res.json(mongoResponse || {}))
.catch(e => {
log('Failed to find document', e);
res.sendStatus(500);
Expand Down

0 comments on commit 457dd1d

Please sign in to comment.