Remove unneeded expect

Better know which message is missing.
This commit is contained in:
Franck Royer 2022-04-20 14:25:16 +10:00
parent b048c56499
commit 2bad5f117e
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 0 additions and 16 deletions

View File

@ -107,13 +107,6 @@ export default function runAll(nodes) {
});
});
messages.forEach((msgs, i) => {
expect(msgs.length).to.gte(
nodes.length - 1,
`Unexpected number of messages received by ${hostnames[i]}`
);
});
// Checking that message sent by waku[i]
for (let i = 0; i < wakus.length; i++) {
// is received by waku[j]
@ -190,13 +183,6 @@ export default function runAll(nodes) {
});
});
messages.forEach((msgs, i) => {
expect(msgs.length).to.gte(
nodes.length - 1,
`Unexpected number of messages received by ${hostnames[i]}`
);
});
// Checking that message sent by waku[i]
for (let i = 0; i < wakus.length; i++) {
// is received by waku[j]
@ -214,8 +200,6 @@ export default function runAll(nodes) {
it("Retrieve from Store, sent via Light push", async function () {
this.timeout(30000);
expect(nodes.length).to.eq(3);
const id = uuidv4();
const promises = nodes.map(async (node, i) => {