mirror of https://github.com/waku-org/js-waku.git
enable tests for nwaku
This commit is contained in:
parent
ba7bc95b81
commit
26784f0fb2
|
@ -33,13 +33,11 @@ describe("Waku Filter: V2", () => {
|
||||||
beforeEach(async function () {
|
beforeEach(async function () {
|
||||||
this.timeout(15000);
|
this.timeout(15000);
|
||||||
nwaku = new Nwaku(makeLogFileName(this));
|
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({
|
await nwaku.start({
|
||||||
filter: true,
|
filter: true,
|
||||||
lightpush: true,
|
lightpush: true,
|
||||||
relay: true,
|
relay: true,
|
||||||
useFilterv2: true,
|
...(nwaku.nodeType === "go-waku" && { useFilterv2: true }),
|
||||||
});
|
});
|
||||||
waku = await createLightNode({
|
waku = await createLightNode({
|
||||||
useFilterV2: true,
|
useFilterV2: true,
|
||||||
|
|
Loading…
Reference in New Issue