diff options
Diffstat (limited to 'cli/js')
-rw-r--r-- | cli/js/40_testing.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/js/40_testing.js b/cli/js/40_testing.js index 43232ef90..d71609dd1 100644 --- a/cli/js/40_testing.js +++ b/cli/js/40_testing.js @@ -26,6 +26,7 @@ MapPrototypeSet, MathCeil, ObjectKeys, + ObjectPrototypeHasOwnProperty, ObjectPrototypeIsPrototypeOf, Promise, SafeArrayIterator, @@ -167,6 +168,9 @@ const details = []; for (const key in post.ops) { + if (!ObjectPrototypeHasOwnProperty(post.ops, key)) { + continue; + } const preOp = pre.ops[key] ?? { opsDispatchedAsync: 0, opsCompletedAsync: 0 }; const postOp = post.ops[key]; |