test(pubsub): align pure p2p option expectations

This commit is contained in:
Tommaso Casaburi
2026-06-16 22:53:22 +07:00
parent f7771d33dd
commit d3772786ff
2 changed files with 3 additions and 3 deletions
@@ -252,10 +252,10 @@ describe('AdvancedSettings', () => {
expect.objectContaining({
pkcOptions: expect.objectContaining({
httpRoutersOptions: ['https://router.old.example'],
ipfsGatewayUrls: undefined,
ipfsGatewayUrls: [],
libp2pJsClientsOptions: [{ key: 'libp2pjs' }],
pkcRpcClientsOptions: undefined,
pubsubKuboRpcClientsOptions: undefined,
pubsubKuboRpcClientsOptions: [],
}),
}),
);
+1 -1
View File
@@ -88,7 +88,7 @@ describe('p2p-runtime', () => {
expect(getBrowserPureP2PAccountOptions(account)).toMatchObject({
libp2pJsClientsOptions: [{ key: 'libp2pjs' }],
ipfsGatewayUrls: undefined,
ipfsGatewayUrls: [],
pkcRpcClientsOptions: undefined,
});
expect(getBrowserGatewayAccountOptions(account)).toMatchObject({