Mocha will now run afterEach() hooks when tests are skipped, so we need to make them more robust against things being partially set up.
Mocha will now run afterEach() hooks when tests are skipped, so we need to make them more robust against things being partially set up.