Increase test timeout

This commit is contained in:
Franck Royer 2021-04-15 11:25:40 +10:00
parent d2c8d72c3e
commit 1a4407b4f5
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@ describe('Waku Relay', () => {
});
afterEach(async function () {
this.timeout(5000);
await waku1.stop();
await waku2.stop();
});
@ -185,6 +186,7 @@ describe('Waku Relay', () => {
});
it('Js publishes to nim', async function () {
this.timeout(3000);
const message = WakuMessage.fromUtf8String('This is a message');
await waku.relay.publish(message);