From 06a95fc1cf15566c9afe61ed7c24bef0ce6ae241 Mon Sep 17 00:00:00 2001 From: Fahrrader Date: Fri, 01 Apr 2022 10:56:11 +0000 Subject: [PATCH] format(CollatorSelection): tests --- --- a/tests/src/shuffleCollators.test.ts +++ b/tests/src/shuffleCollators.test.ts @@ -71,6 +71,7 @@ const expectedSessionIndex = (await api.query.session.currentIndex() as any).toNumber() + 2; let currentSessionIndex = -1; + console.log('Waiting for the session after the next. This might take a while...'); while (currentSessionIndex < expectedSessionIndex) { await waitNewBlocks(api, 1); currentSessionIndex = (await api.query.session.currentIndex() as any).toNumber(); -- gitstuff