Pm.expect is not working on newman

My question:
pm.expect is not working on newman
for example, pm.expect(1).to.eql(0); would fail in postman
but if i run it in newman the test just passes

I think I know why the expect failed, it was inside a cookieJar.getAll(url, (err, cookies) => { }
How can I make it work inside it though?