diff options
Diffstat (limited to 'cli/js')
-rw-r--r-- | cli/js/40_testing.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/40_testing.js b/cli/js/40_testing.js index 8afcb74ee..e269b9c9f 100644 --- a/cli/js/40_testing.js +++ b/cli/js/40_testing.js @@ -21,7 +21,7 @@ const { MapPrototypeSet, MathCeil, ObjectKeys, - ObjectPrototypeHasOwnProperty, + ObjectHasOwn, ObjectPrototypeIsPrototypeOf, Promise, SafeArrayIterator, @@ -166,7 +166,7 @@ function assertOps(fn) { const details = []; for (const key in post.ops) { - if (!ObjectPrototypeHasOwnProperty(post.ops, key)) { + if (!ObjectHasOwn(post.ops, key)) { continue; } const preOp = pre.ops[key] ?? |