You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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