I think this shouldn't pass:

```js
    expect(() => {
      expect(() => {
        throw new Error('haha') // no warning
      }).toWarnDev(
        'nope',
      );
    }).toThrow('haha');
```

but it does.
expect(() => {
          console.error('Hi \n    in div');
          console.error('Wow \n    in div');
          console.error('Bye \n    in div');
        }).toWarnDev('Hi', 'Bye');
      }).toThrow(
        'toWarnDev() second argument, when present, should be an object'
      );
      expect(() => {
        expect(() => {
          console.error('Hi \n    in div');
          console.error('Wow \n    in div');
          console.error('Bye \n    in div');
        }).toWarnDev('Hi', 'Wow', 'Bye');
      }).toThrow(
        'toWarnDev() second argument, when present, should be an object'
      );
    });
    it('fails on more than two arguments', () => {
      expect(() => {
        expect(() => {
          console.error('Hi \n    in div');
          console.error('Wow \n    in div');
          console.error('Bye \n    in div');
        }).toWarnDev('Hi', undefined, 'Bye');
      }).toThrow('toWarnDev() received more than two arguments.');
    });
  }
});