Run live data test locally but not in CI
Running in CI would mean the CI breaks if there are issues with the waku prod fleet.
This commit is contained in:
parent
373603067c
commit
c4512a0840
|
@ -4,8 +4,15 @@ import { Waku } from "js-waku";
|
||||||
import { Community } from "./community";
|
import { Community } from "./community";
|
||||||
import { CommunityDescription } from "./wire/community_description";
|
import { CommunityDescription } from "./wire/community_description";
|
||||||
|
|
||||||
describe("Community", () => {
|
describe("Community live data", () => {
|
||||||
it.skip("Retrieves community description For DappConnect Test from Waku prod fleet", async function () {
|
before(function () {
|
||||||
|
if (process.env.CI) {
|
||||||
|
// Skip live data test in CI
|
||||||
|
this.skip();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
it("Retrieves community description For DappConnect Test from Waku prod fleet", async function () {
|
||||||
this.timeout(20000);
|
this.timeout(20000);
|
||||||
const waku = await Waku.create({ bootstrap: true });
|
const waku = await Waku.create({ bootstrap: true });
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue