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 5cc68f9 commit 2dcf8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/collector/api-login.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ test('receiving no config back from connect', async (t) => {
await t.test('should pass along no server-side configuration from collector', (t, end) => {
const { collectorApi } = t.nr
collectorApi._login((error, res) => {
assert.ifError(error)
assert.equal(error.message, 'No agent run ID received from handshake.')
assert.equal(res.payload, undefined)
end()
})
Expand Down

0 comments on commit 2dcf8a3

Please sign in to comment.