Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 03b758d

Browse files
authored
test: Change the check so tests pass (#1641)
## Description [Currently tests are failing on main](https://togithub.com/googleapis/nodejs-bigtable/pull/1640). We have to use a more updated version of hasOwn method to unblock the CI pipeline. ## Impact Unblocks CI pipeline ## Testing Fixes tests ## Additional Information > Any additional details that we should be aware of? ## Checklist
1 parent ee00469 commit 03b758d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/retry-options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const isExpiredQueryError = (
5959
): boolean => {
6060
if (
6161
error.code === grpc.status.FAILED_PRECONDITION &&
62-
Object.hasOwn(error, 'statusDetails')
62+
Object.prototype.hasOwnProperty.call(error, 'statusDetails')
6363
) {
6464
const statusDetails = (error as GoogleError)
6565
.statusDetails as ViolationsList[];

0 commit comments

Comments
 (0)