You should change this to:

```js
expect(this.consoleSpy).to.have.been.calledOnce.and.calledWithExactly(warning);
```

I normally like to try and keep all my values in the `beforeEach` too.