enable tests for nwaku

This commit is contained in:
danisharora099 2023-05-08 16:16:53 +05:30
parent ba7bc95b81
commit 26784f0fb2
No known key found for this signature in database
GPG Key ID: FBD2BF500037F135
1 changed files with 1 additions and 3 deletions

View File

@ -33,13 +33,11 @@ describe("Waku Filter: V2", () => {
beforeEach(async function () {
this.timeout(15000);
nwaku = new Nwaku(makeLogFileName(this));
// New Filter protocol only works on go-waku right now
if (nwaku.nodeType !== "go-waku") this.skip();
await nwaku.start({
filter: true,
lightpush: true,
relay: true,
useFilterv2: true,
...(nwaku.nodeType === "go-waku" && { useFilterv2: true }),
});
waku = await createLightNode({
useFilterV2: true,