Open smfoote opened 9 years ago
I can look into this for the coming week.
According to this article about promises in the "Advanced mistake 2" section, Mocha and Chai are good for testing APIs with promises.
are the tests currently broken?
The tests should be working now. The instructions in README.md should work. However, I put a display: none;
on passing tests so it was easier to find test failures; perhaps that is why it appears that the tests aren't running?
^ further proof that we need a real testing framework.
@prashn64 is this done?
It would be a shame to have to rewrite all of the tests, so hopefully that's not necessary, but we should use an established test runner (along with the
compareNode
code) for testing.