Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Some tests are incorrectly written and never run #199

Open
ferencdg opened this issue Jun 20, 2024 · 0 comments
Open

Some tests are incorrectly written and never run #199

ferencdg opened this issue Jun 20, 2024 · 0 comments

Comments

@ferencdg
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant