We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 463d87a commit 3365791Copy full SHA for 3365791
test/unit/node/util.test.ts
@@ -6,7 +6,8 @@ describe("getEnvPaths", () => {
6
const expectedProperties = ["data", "config", "runtime"]
7
expectedProperties.forEach((property) => {
8
// This is a funky way to do it rather than calling hasOwnProperty itself
9
- // We do this because of this eslint rule: https://eslint.org/docs/rules/no-prototype-builtins
+ // We do this because of this eslint rule
10
+ // Link: https://eslint.org/docs/rules/no-prototype-builtins
11
const hasProperty = Object.prototype.hasOwnProperty.call(actualPaths, property)
12
expect(hasProperty).toBe(true)
13
})
0 commit comments