mocha pass variable to the next test
It is much preferable to keep the tests isolated so that one test does not depend on a computation performed in another. Let’s call the test that should pass a value test A and the test that should get it test B. Some question to consider: Are test A and test B really two different … Read more