Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners-nr committed Sep 12, 2024
1 parent 7187bde commit 3fef822
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/unit/utilization/ecs-info.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,10 @@ test('records json parsing error', (ctx, end) => {

function callback(err, data) {
assert.ifError(err)
assert.deepEqual(
logs[0],
'Failed to process ECS API response, omitting boot info: Unexpected end of JSON input'
assert.equal(logs.length, 1)
assert.equal(
logs[0].startsWith('Failed to process ECS API response, omitting boot info:'),
true
)
assert.equal(data, null)
assert.equal(
Expand Down

0 comments on commit 3fef822

Please sign in to comment.