Skip to content

Commit

Permalink
fix: test add delay
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-pousette committed Dec 13, 2023
1 parent 035d47c commit 63b273f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Documents } from "../index.js";
import { Program } from "@peerbit/program";
import { v4 as uuid } from "uuid";
import { randomBytes } from "@peerbit/crypto";
import { waitForResolved } from "@peerbit/time";
import { delay, waitForResolved } from "@peerbit/time";
import { TestSession } from "@peerbit/test-utils";

/**
Expand Down Expand Up @@ -67,6 +67,7 @@ describe("profile", () => {
}
await stores[0].waitFor(session.peers[1].peerId);
await stores[0].waitFor(session.peers[2].peerId);
await delay(5000);
});

afterEach(async () => {
Expand Down

0 comments on commit 63b273f

Please sign in to comment.