summaryrefslogtreecommitdiff
path: root/cli/tests/unit/resources_test.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2021-11-01 16:22:27 -0400
committerGitHub <noreply@github.com>2021-11-01 16:22:27 -0400
commit0ec151b8cb2a92bb1765672fa15de23e6c8842d4 (patch)
treea1c126319d39e5db9bbed6174ec7708afbd47ae0 /cli/tests/unit/resources_test.ts
parent2794d0b7a29dc2c84438f5004dd35d00d6d29007 (diff)
chore: upgrade deno_ast to 0.5.0 (#12595)
Diffstat (limited to 'cli/tests/unit/resources_test.ts')
-rw-r--r--cli/tests/unit/resources_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/unit/resources_test.ts b/cli/tests/unit/resources_test.ts
index 1aab51faa..368f7f990 100644
--- a/cli/tests/unit/resources_test.ts
+++ b/cli/tests/unit/resources_test.ts
@@ -47,7 +47,7 @@ unitTest({ permissions: { read: true } }, async function resourcesFile() {
Object.keys(resourcesBefore).length + 1,
);
const newRid = +Object.keys(resourcesAfter).find((rid): boolean => {
- return !resourcesBefore.hasOwnProperty(rid);
+ return !Object.prototype.hasOwnProperty.call(resourcesBefore, rid);
})!;
assertEquals(resourcesAfter[newRid], "fsFile");
});