mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
test(pubsub): align pure p2p option expectations
This commit is contained in:
+2
-2
@@ -252,10 +252,10 @@ describe('AdvancedSettings', () => {
|
|||||||
expect.objectContaining({
|
expect.objectContaining({
|
||||||
pkcOptions: expect.objectContaining({
|
pkcOptions: expect.objectContaining({
|
||||||
httpRoutersOptions: ['https://router.old.example'],
|
httpRoutersOptions: ['https://router.old.example'],
|
||||||
ipfsGatewayUrls: undefined,
|
ipfsGatewayUrls: [],
|
||||||
libp2pJsClientsOptions: [{ key: 'libp2pjs' }],
|
libp2pJsClientsOptions: [{ key: 'libp2pjs' }],
|
||||||
pkcRpcClientsOptions: undefined,
|
pkcRpcClientsOptions: undefined,
|
||||||
pubsubKuboRpcClientsOptions: undefined,
|
pubsubKuboRpcClientsOptions: [],
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ describe('p2p-runtime', () => {
|
|||||||
|
|
||||||
expect(getBrowserPureP2PAccountOptions(account)).toMatchObject({
|
expect(getBrowserPureP2PAccountOptions(account)).toMatchObject({
|
||||||
libp2pJsClientsOptions: [{ key: 'libp2pjs' }],
|
libp2pJsClientsOptions: [{ key: 'libp2pjs' }],
|
||||||
ipfsGatewayUrls: undefined,
|
ipfsGatewayUrls: [],
|
||||||
pkcRpcClientsOptions: undefined,
|
pkcRpcClientsOptions: undefined,
|
||||||
});
|
});
|
||||||
expect(getBrowserGatewayAccountOptions(account)).toMatchObject({
|
expect(getBrowserGatewayAccountOptions(account)).toMatchObject({
|
||||||
|
|||||||
Reference in New Issue
Block a user