diff --git a/src/infra/prototype-keys.test.ts b/src/infra/prototype-keys.test.ts index f2bd8287226..98014b71450 100644 --- a/src/infra/prototype-keys.test.ts +++ b/src/infra/prototype-keys.test.ts @@ -7,7 +7,7 @@ describe("isBlockedObjectKey", () => { expect(isBlockedObjectKey(key)).toBe(true); } - for (const key of ["toString", "value", "constructorName"]) { + for (const key of ["toString", "value", "constructorName", "__proto__x", "Prototype"]) { expect(isBlockedObjectKey(key)).toBe(false); } });