Project 4 - Wiki Game
Spec
The spec for this project can be found at wiki-game.md.
Testing infrastructure
Several tests are provided in tests/test.js
.
They try your find-path.js
on various inputs.
To run them, you need to run npm install
once and then npm test
each time you want to run the tests.
Since Wikipedia can be edited at any time, the expected paths may become outdated. I computed the lists of possible paths on 2020-03-31, so hopefully this isn't an issue. Please let me know if you think you've found a valid path that is failing a test case; I can update the tests.