test: avoid using Object.prototype methods directly on objects · nodejs/node@673c1fd · GitHub
Skip to content

Commit 673c1fd

Browse files
Trottdanielleadams
authored andcommitted
test: avoid using Object.prototype methods directly on objects
This prepares us to enable the no-prototype-builtins ESLint rule. Refs: https://eslint.org/docs/rules/no-prototype-builtins PR-URL: #41801 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com>
1 parent 4660c1f commit 673c1fd

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

test/parallel/test-console-group.js

Lines changed: 1 addition & 1 deletion

test/parallel/test-stream-base-prototype-accessors-enumerability.js

Lines changed: 4 additions & 4 deletions

0 commit comments

Comments
 (0)