Let's not remove all of this, but instead change it to `expect(...).not.toThrow()`. We should still expect `console.warn` is called twice, but we can also expect that the value in the node is `[object Object]`