Skip to content

Commit ff13e27

Browse files
committed
test: Log Error On Error
1 parent 3b19e9c commit ff13e27

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

samples/test/externalclient.test.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ describe('samples for external-account', () => {
290290
},
291291
});
292292
// Confirm expected script output.
293-
assert.match(output, /DNS Info:/);
293+
assert.match(output, /DNS Info:/, output);
294294
});
295295

296296
it('should sign the blobs with IAM credentials API', async () => {
@@ -389,7 +389,7 @@ describe('samples for external-account', () => {
389389
},
390390
});
391391
// Confirm expected script output.
392-
assert.match(output, /DNS Info:/);
392+
assert.match(output, /DNS Info:/, output);
393393
});
394394

395395
it('should acquire ADC for AWS creds', async () => {
@@ -427,7 +427,7 @@ describe('samples for external-account', () => {
427427
},
428428
});
429429
// Confirm expected script output.
430-
assert.match(output, /DNS Info:/);
430+
assert.match(output, /DNS Info:/, output);
431431
});
432432

433433
it('should acquire ADC for PluggableAuth creds', async () => {
@@ -474,7 +474,7 @@ describe('samples for external-account', () => {
474474
},
475475
});
476476
// Confirm expected script output.
477-
assert.match(output, /DNS Info:/);
477+
assert.match(output, /DNS Info:/, output);
478478
});
479479

480480
it('should acquire access token with service account impersonation options', async () => {

0 commit comments

Comments
 (0)