Skip to content

Commit 6dcd89d

Browse files
committed
logger: address review feedback
1 parent 97c1e76 commit 6dcd89d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-logger-serializers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ describe('Logger serializers', () => {
368368
assert.strictEqual(stream.logs.length, 1);
369369
const log = stream.logs[0];
370370
assert.strictEqual(log.msg, 'My invalid json ", "__proto__": true,');
371-
assert.strictEqual(log.__proto__, undefined);
371+
assert.ok(!Object.hasOwn(log, '__proto__'));
372372
});
373373

374374
it('should properly escape special characters in field keys', () => {

0 commit comments

Comments
 (0)