This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Description
There are a couple of places in the tests where you iterate through arrays like this:
for (let i; i < chain.length; i += 1) {
}
as i was not initialized, the loop runs 0 times. After you fix it to let i = 0, it will fail for a different reason as the test code in the block is not correct