mirror of
https://github.com/logos-messaging/waku-tests.git
synced 2026-01-06 00:03:12 +00:00
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]
|
// Checking that message sent by waku[i]
|
||||||
for (let i = 0; i < wakus.length; i++) {
|
for (let i = 0; i < wakus.length; i++) {
|
||||||
// is received by waku[j]
|
// 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]
|
// Checking that message sent by waku[i]
|
||||||
for (let i = 0; i < wakus.length; i++) {
|
for (let i = 0; i < wakus.length; i++) {
|
||||||
// is received by waku[j]
|
// is received by waku[j]
|
||||||
@ -214,8 +200,6 @@ export default function runAll(nodes) {
|
|||||||
it("Retrieve from Store, sent via Light push", async function () {
|
it("Retrieve from Store, sent via Light push", async function () {
|
||||||
this.timeout(30000);
|
this.timeout(30000);
|
||||||
|
|
||||||
expect(nodes.length).to.eq(3);
|
|
||||||
|
|
||||||
const id = uuidv4();
|
const id = uuidv4();
|
||||||
|
|
||||||
const promises = nodes.map(async (node, i) => {
|
const promises = nodes.map(async (node, i) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user