mirror of
https://github.com/waku-org/js-waku.git
synced 2025-02-27 19:40:52 +00:00
test: nwaku's --persist-message is now deprecated
`--store=true` is enough to enable message persist for waku store.
This commit is contained in:
parent
25565aa2c1
commit
9cdc9f96ac
@ -44,7 +44,6 @@ export interface Args {
|
|||||||
nodekey?: string;
|
nodekey?: string;
|
||||||
portsShift?: number;
|
portsShift?: number;
|
||||||
logLevel?: LogLevel;
|
logLevel?: LogLevel;
|
||||||
persistMessages?: boolean;
|
|
||||||
lightpush?: boolean;
|
lightpush?: boolean;
|
||||||
filter?: boolean;
|
filter?: boolean;
|
||||||
store?: boolean;
|
store?: boolean;
|
||||||
|
@ -32,7 +32,7 @@ describe("Waku Store", () => {
|
|||||||
beforeEach(async function () {
|
beforeEach(async function () {
|
||||||
this.timeout(15_000);
|
this.timeout(15_000);
|
||||||
nwaku = new Nwaku(makeLogFileName(this));
|
nwaku = new Nwaku(makeLogFileName(this));
|
||||||
await nwaku.start({ persistMessages: true, store: true, lightpush: true });
|
await nwaku.start({ store: true, lightpush: true });
|
||||||
});
|
});
|
||||||
|
|
||||||
afterEach(async function () {
|
afterEach(async function () {
|
||||||
@ -505,7 +505,6 @@ describe("Waku Store, custom pubsub topic", () => {
|
|||||||
this.timeout(15_000);
|
this.timeout(15_000);
|
||||||
nwaku = new Nwaku(makeLogFileName(this));
|
nwaku = new Nwaku(makeLogFileName(this));
|
||||||
await nwaku.start({
|
await nwaku.start({
|
||||||
persistMessages: true,
|
|
||||||
store: true,
|
store: true,
|
||||||
topics: customPubSubTopic,
|
topics: customPubSubTopic,
|
||||||
});
|
});
|
||||||
|
@ -101,7 +101,6 @@ describe("Wait for remote peer", function () {
|
|||||||
relay: false,
|
relay: false,
|
||||||
lightpush: false,
|
lightpush: false,
|
||||||
filter: false,
|
filter: false,
|
||||||
persistMessages: true,
|
|
||||||
});
|
});
|
||||||
const multiAddrWithId = await nwaku.getMultiaddrWithId();
|
const multiAddrWithId = await nwaku.getMultiaddrWithId();
|
||||||
|
|
||||||
@ -128,7 +127,6 @@ describe("Wait for remote peer", function () {
|
|||||||
relay: false,
|
relay: false,
|
||||||
lightpush: false,
|
lightpush: false,
|
||||||
filter: false,
|
filter: false,
|
||||||
persistMessages: true,
|
|
||||||
});
|
});
|
||||||
const multiAddrWithId = await nwaku.getMultiaddrWithId();
|
const multiAddrWithId = await nwaku.getMultiaddrWithId();
|
||||||
|
|
||||||
@ -213,7 +211,6 @@ describe("Wait for remote peer", function () {
|
|||||||
lightpush: true,
|
lightpush: true,
|
||||||
relay: false,
|
relay: false,
|
||||||
store: true,
|
store: true,
|
||||||
persistMessages: true,
|
|
||||||
});
|
});
|
||||||
const multiAddrWithId = await nwaku.getMultiaddrWithId();
|
const multiAddrWithId = await nwaku.getMultiaddrWithId();
|
||||||
|
|
||||||
|
@ -38,7 +38,6 @@ describe("Waku Dial [node only]", function () {
|
|||||||
filter: true,
|
filter: true,
|
||||||
store: true,
|
store: true,
|
||||||
lightpush: true,
|
lightpush: true,
|
||||||
persistMessages: true,
|
|
||||||
});
|
});
|
||||||
const multiAddrWithId = await nwaku.getMultiaddrWithId();
|
const multiAddrWithId = await nwaku.getMultiaddrWithId();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user