Skip to content

Commit

Permalink
chore: remove useless test
Browse files Browse the repository at this point in the history
  • Loading branch information
D4nte committed Jul 20, 2022
1 parent be48882 commit fe3fa8e
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/lib/discovery/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { expect } from "chai";

import { fleets } from "./predefined";
import { getPseudoRandomSubset } from "./random_subset";

describe("Discovery", () => {
Expand Down Expand Up @@ -34,23 +33,3 @@ describe("Discovery", () => {
expect(res.length).to.eq(2);
});
});

describe("Discovery [live data]", function () {
before(function () {
if (process.env.CI) {
this.skip();
}
});

it("Check pre-defined nodes against hosted JSON [live data]", async function () {
const res = await fetch("https://fleets.status.im/");
const nodes = await res.json();

expect(fleets.fleets["wakuv2.prod"]["waku-websocket"]).to.deep.eq(
nodes.fleets["wakuv2.prod"]["waku-websocket"]
);
expect(fleets.fleets["wakuv2.test"]["waku-websocket"]).to.deep.eq(
nodes.fleets["wakuv2.test"]["waku-websocket"]
);
});
});

0 comments on commit fe3fa8e

Please sign in to comment.