mirror of https://github.com/waku-org/js-waku.git
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;
|
||||
portsShift?: number;
|
||||
logLevel?: LogLevel;
|
||||
persistMessages?: boolean;
|
||||
lightpush?: boolean;
|
||||
filter?: boolean;
|
||||
store?: boolean;
|
||||
|
|
|
@ -32,7 +32,7 @@ describe("Waku Store", () => {
|
|||
beforeEach(async function () {
|
||||
this.timeout(15_000);
|
||||
nwaku = new Nwaku(makeLogFileName(this));
|
||||
await nwaku.start({ persistMessages: true, store: true, lightpush: true });
|
||||
await nwaku.start({ store: true, lightpush: true });
|
||||
});
|
||||
|
||||
afterEach(async function () {
|
||||
|
@ -505,7 +505,6 @@ describe("Waku Store, custom pubsub topic", () => {
|
|||
this.timeout(15_000);
|
||||
nwaku = new Nwaku(makeLogFileName(this));
|
||||
await nwaku.start({
|
||||
persistMessages: true,
|
||||
store: true,
|
||||
topics: customPubSubTopic,
|
||||
});
|
||||
|
|
|
@ -101,7 +101,6 @@ describe("Wait for remote peer", function () {
|
|||
relay: false,
|
||||
lightpush: false,
|
||||
filter: false,
|
||||
persistMessages: true,
|
||||
});
|
||||
const multiAddrWithId = await nwaku.getMultiaddrWithId();
|
||||
|
||||
|
@ -128,7 +127,6 @@ describe("Wait for remote peer", function () {
|
|||
relay: false,
|
||||
lightpush: false,
|
||||
filter: false,
|
||||
persistMessages: true,
|
||||
});
|
||||
const multiAddrWithId = await nwaku.getMultiaddrWithId();
|
||||
|
||||
|
@ -213,7 +211,6 @@ describe("Wait for remote peer", function () {
|
|||
lightpush: true,
|
||||
relay: false,
|
||||
store: true,
|
||||
persistMessages: true,
|
||||
});
|
||||
const multiAddrWithId = await nwaku.getMultiaddrWithId();
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@ describe("Waku Dial [node only]", function () {
|
|||
filter: true,
|
||||
store: true,
|
||||
lightpush: true,
|
||||
persistMessages: true,
|
||||
});
|
||||
const multiAddrWithId = await nwaku.getMultiaddrWithId();
|
||||
|
||||
|
|
Loading…
Reference in New Issue