@@ -1180,7 +1180,7 @@ test("handleInbox()", async () => {
11801180 recipient : null ,
11811181 context : unsignedContext ,
11821182 inboxContextFactory ( _activity ) {
1183- return createInboxContext ( unsignedContext ) ;
1183+ return createInboxContext ( { ... unsignedContext , clone : undefined } ) ;
11841184 } ,
11851185 ...inboxOptions ,
11861186 actorDispatcher : undefined ,
@@ -1193,7 +1193,11 @@ test("handleInbox()", async () => {
11931193 recipient : "nobody" ,
11941194 context : unsignedContext ,
11951195 inboxContextFactory ( _activity ) {
1196- return createInboxContext ( { ...unsignedContext , recipient : "nobody" } ) ;
1196+ return createInboxContext ( {
1197+ ...unsignedContext ,
1198+ clone : undefined ,
1199+ recipient : "nobody" ,
1200+ } ) ;
11971201 } ,
11981202 ...inboxOptions ,
11991203 } ) ;
@@ -1205,7 +1209,7 @@ test("handleInbox()", async () => {
12051209 recipient : null ,
12061210 context : unsignedContext ,
12071211 inboxContextFactory ( _activity ) {
1208- return createInboxContext ( unsignedContext ) ;
1212+ return createInboxContext ( { ... unsignedContext , clone : undefined } ) ;
12091213 } ,
12101214 ...inboxOptions ,
12111215 } ) ;
@@ -1216,7 +1220,11 @@ test("handleInbox()", async () => {
12161220 recipient : "someone" ,
12171221 context : unsignedContext ,
12181222 inboxContextFactory ( _activity ) {
1219- return createInboxContext ( { ...unsignedContext , recipient : "someone" } ) ;
1223+ return createInboxContext ( {
1224+ ...unsignedContext ,
1225+ clone : undefined ,
1226+ recipient : "someone" ,
1227+ } ) ;
12201228 } ,
12211229 ...inboxOptions ,
12221230 } ) ;
@@ -1240,7 +1248,7 @@ test("handleInbox()", async () => {
12401248 recipient : null ,
12411249 context : signedContext ,
12421250 inboxContextFactory ( _activity ) {
1243- return createInboxContext ( unsignedContext ) ;
1251+ return createInboxContext ( { ... unsignedContext , clone : undefined } ) ;
12441252 } ,
12451253 ...inboxOptions ,
12461254 } ) ;
@@ -1251,7 +1259,11 @@ test("handleInbox()", async () => {
12511259 recipient : "someone" ,
12521260 context : signedContext ,
12531261 inboxContextFactory ( _activity ) {
1254- return createInboxContext ( { ...unsignedContext , recipient : "someone" } ) ;
1262+ return createInboxContext ( {
1263+ ...unsignedContext ,
1264+ clone : undefined ,
1265+ recipient : "someone" ,
1266+ } ) ;
12551267 } ,
12561268 ...inboxOptions ,
12571269 } ) ;
@@ -1262,7 +1274,7 @@ test("handleInbox()", async () => {
12621274 recipient : null ,
12631275 context : unsignedContext ,
12641276 inboxContextFactory ( _activity ) {
1265- return createInboxContext ( unsignedContext ) ;
1277+ return createInboxContext ( { ... unsignedContext , clone : undefined } ) ;
12661278 } ,
12671279 ...inboxOptions ,
12681280 skipSignatureVerification : true ,
@@ -1274,7 +1286,11 @@ test("handleInbox()", async () => {
12741286 recipient : "someone" ,
12751287 context : unsignedContext ,
12761288 inboxContextFactory ( _activity ) {
1277- return createInboxContext ( { ...unsignedContext , recipient : "someone" } ) ;
1289+ return createInboxContext ( {
1290+ ...unsignedContext ,
1291+ clone : undefined ,
1292+ recipient : "someone" ,
1293+ } ) ;
12781294 } ,
12791295 ...inboxOptions ,
12801296 skipSignatureVerification : true ,
@@ -1311,7 +1327,7 @@ test("handleInbox()", async () => {
13111327 recipient : null ,
13121328 context : signedContext ,
13131329 inboxContextFactory ( _activity ) {
1314- return createInboxContext ( signedInvalidContext ) ;
1330+ return createInboxContext ( { ... signedInvalidContext , clone : undefined } ) ;
13151331 } ,
13161332 ...inboxOptions ,
13171333 } ) ;
0 commit comments