Remove unneeded expect
Better know which message is missing.
This commit is contained in:
parent
b048c56499
commit
2bad5f117e
16
index.js
16
index.js
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue