Move `done` out of the `then` handler. so it should be:
```js
  sidebar.destroy();
}).catch(assert.fail)
  .then(done)
```