chore: remove useless test

This commit is contained in:
Franck Royer 2022-07-20 12:46:40 +10:00 committed by fryorcraken.eth
parent f768686e51
commit bd7d01387d
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 0 additions and 21 deletions

View File

@ -1,6 +1,5 @@
import { expect } from "chai";
import { fleets } from "./predefined";
import { getPseudoRandomSubset } from "./random_subset";
describe("Discovery", () => {
@ -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"]
);
});
});