According to NodeJS v8.x doc:
a falsy assertion will cause an AssertionError to be thrown
console.assert(false) does not throw with v22.4.0 (was working at least with v22.1.4):
// Does not work anymore
expect(() => console.assert(false, 'message')).toThrow('message');