|
@@ -5,6 +5,7 @@ describe("Peer", () => {
|
|
|
it("should emit an error, when the ID is already taken", async () => {
|
|
|
await P.open("id-taken");
|
|
|
await P.waitForMessage('{"type":"unavailable-id"}');
|
|
|
+ await P.waitForMessage('{"type":"unavailable-id"}');
|
|
|
expect(await P.errorMessage.getText()).toBe("");
|
|
|
});
|
|
|
it("should emit an error, when the server is unavailable", async () => {
|