Within jsdom `suite.run` is run in the (presumed) async `done` callback. Adding the branch seemed like the easiest thing rather than trying to add more logic to handle sync vs. async.