test: nwaku's --persist-message is now deprecated

`--store=true` is enough to enable message persist for waku store.
This commit is contained in:
fryorcraken.eth 2022-11-15 13:50:11 +11:00
parent 25565aa2c1
commit 9cdc9f96ac
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
4 changed files with 1 additions and 7 deletions

View File

@ -44,7 +44,6 @@ export interface Args {
nodekey?: string;
portsShift?: number;
logLevel?: LogLevel;
persistMessages?: boolean;
lightpush?: boolean;
filter?: boolean;
store?: boolean;

View File

@ -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,
});

View File

@ -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();

View File

@ -38,7 +38,6 @@ describe("Waku Dial [node only]", function () {
filter: true,
store: true,
lightpush: true,
persistMessages: true,
});
const multiAddrWithId = await nwaku.getMultiaddrWithId();