diff options
Diffstat (limited to 'cli/tests/unit/resources_test.ts')
-rw-r--r-- | cli/tests/unit/resources_test.ts | 2 |
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"); }); |