Skip to content

Commit

Permalink
fix assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners-nr committed Dec 23, 2024
1 parent 7b546de commit 116304e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/versioned/express-esm/transaction-naming.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ test('names transaction when request is aborted', async (t) => {

const promise = new Promise((resolve) => {
app.use(function (error, req, res, next) {
plan.ifError(error)
plan.equal(error.message, 'some error')
plan.ok(agent.getTransaction() == null, 'no active transaction when responding')
res.end()
resolve()
Expand Down

0 comments on commit 116304e

Please sign in to comment.