From 23477cd0caf39b5a1289260d3e42930ae5e86ec1 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Sun, 22 Sep 2024 10:04:57 +0900 Subject: [PATCH] Update activitypub.ts --- packages/backend/test/unit/activitypub.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/backend/test/unit/activitypub.ts b/packages/backend/test/unit/activitypub.ts index 31f359e6d7..bdd08059fe 100644 --- a/packages/backend/test/unit/activitypub.ts +++ b/packages/backend/test/unit/activitypub.ts @@ -109,6 +109,9 @@ describe('ActivityPub', () => { const meta = metaInitial; function updateMeta(newMeta: Partial): void { + for (const key in meta) { + delete (meta as any)[key]; + } Object.assign(meta, newMeta); }