mirror of https://github.com/waku-org/js-waku.git
test: `topics` arg renamed to `topic` in nwaku
This commit is contained in:
parent
fff5d66d2f
commit
008bb6ca2e
|
@ -14,7 +14,7 @@ export interface Args {
|
|||
peerExchange?: boolean;
|
||||
discv5Discovery?: boolean;
|
||||
storeMessageDbUrl?: string;
|
||||
topics?: string;
|
||||
topic?: string;
|
||||
rpcPrivate?: boolean;
|
||||
websocketSupport?: boolean;
|
||||
tcpPort?: number;
|
||||
|
|
|
@ -27,7 +27,7 @@ async function runNodes(
|
|||
context: Mocha.Context,
|
||||
pubSubTopic?: string
|
||||
): Promise<[NimGoNode, LightNode]> {
|
||||
const nwakuOptional = pubSubTopic ? { topics: pubSubTopic } : {};
|
||||
const nwakuOptional = pubSubTopic ? { topic: pubSubTopic } : {};
|
||||
const nwaku = new NimGoNode(makeLogFileName(context));
|
||||
await nwaku.start({
|
||||
lightpush: true,
|
||||
|
|
|
@ -575,7 +575,7 @@ describe("Waku Store, custom pubsub topic", () => {
|
|||
nwaku = new NimGoNode(makeLogFileName(this));
|
||||
await nwaku.start({
|
||||
store: true,
|
||||
topics: customPubSubTopic,
|
||||
topic: customPubSubTopic,
|
||||
relay: true,
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue